From 21455bfd1004c4a3153050ac5995b8dc680c2042 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 27 Jul 2016 16:48:53 +0200 Subject: Class names start with a capital --- 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 ff2a69a..a4d9df6 100644 --- a/include/discounts.php +++ b/include/discounts.php @@ -45,8 +45,8 @@ require('./header.php'); if (isset($_GET['id'])) { $id = (int) $_GET['id']; try { - $discount = new discount($_pdo, $id); - $header = "Discounts / {$discount->getTitle()}"; + $discount = new Discount($_pdo, $id); + $header = "Discounts / {$discount->getTitle()}"; $show_individual = $id; } catch (PDOException $e) { $alert = "