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-edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/discounts-edit.php') diff --git a/include/discounts-edit.php b/include/discounts-edit.php index 2d64bd9..797a95b 100644 --- a/include/discounts-edit.php +++ b/include/discounts-edit.php @@ -20,10 +20,10 @@ require_once('./conf.php'); require_once('./login-ajax.php'); -$response = new response(); +$response = new Response(); try { - $discount = new discount($_pdo, $_REQUEST['pk']); + $discount = new Discount($_pdo, $_REQUEST['pk']); $name = explode('-', $_REQUEST['name']); $what_to_edit = $name[count($name) - 1]; -- cgit v1.2.3