From 390251ac43ca889a318369342b4663ef928349d8 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 27 Jul 2016 21:06:48 +0200 Subject: Contact: use Model --- include/offers-view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/offers-view.php') diff --git a/include/offers-view.php b/include/offers-view.php index 9a2978f..aba4c26 100644 --- a/include/offers-view.php +++ b/include/offers-view.php @@ -35,7 +35,7 @@ $_offer = new Offer($_pdo, $_id); $temp = array( 'id' => $_offer->getId(), - 'contact' => $_offer->getContact()->getName(), + 'contact' => $_offer->getContact()->name, 'assignments' => '', 'assignments_header' => '' ); -- cgit v1.2.3