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/home.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/home.php') diff --git a/include/home.php b/include/home.php index 3b461bc..f90d9d3 100644 --- a/include/home.php +++ b/include/home.php @@ -280,7 +280,7 @@ require('./header.php'); foreach ($offers as $offer) { $temp = array( 'id' => $offer->getId(), - 'contact' => $offer->getContact()->getName(), + 'contact' => $offer->getContact()->name, 'assignments' => '', 'assignments_header' => '' ); -- cgit v1.2.3