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/contacts.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/contacts.php') diff --git a/include/contacts.php b/include/contacts.php index 1231e24..28656c9 100644 --- a/include/contacts.php +++ b/include/contacts.php @@ -46,7 +46,7 @@ require('./header.php'); $id = (int) $_GET['id']; try { $contact = new Contact($_pdo, $id); - $header = "Contacts / {$contact->getName()}"; + $header = "Contacts / {$contact->name}"; $show_individual = $id; } catch (PDOException $e) { $alert = "