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/contacts-new.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/contacts-new.php') diff --git a/include/contacts-new.php b/include/contacts-new.php index 440e744..c75298c 100644 --- a/include/contacts-new.php +++ b/include/contacts-new.php @@ -20,10 +20,10 @@ require_once('./conf.php'); require_once('./login-ajax.php'); -$response = new response(); +$response = new Response(); try { - $client = new client($_pdo, $_REQUEST['clientId']); + $client = new Client($_pdo, $_REQUEST['clientId']); $contact = $client->createContact( $_REQUEST['name'], -- cgit v1.2.3