From ee7b6b8cc0cb8619c298f533a2ac791d7aa3b57c Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 27 Jul 2016 20:54:34 +0200 Subject: Discount: use Model --- include/discounts.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/discounts.php') diff --git a/include/discounts.php b/include/discounts.php index a4d9df6..5da2dc4 100644 --- a/include/discounts.php +++ b/include/discounts.php @@ -46,7 +46,7 @@ require('./header.php'); $id = (int) $_GET['id']; try { $discount = new Discount($_pdo, $id); - $header = "Discounts / {$discount->getTitle()}"; + $header = "Discounts / {$discount->title}"; $show_individual = $id; } catch (PDOException $e) { $alert = "