aboutsummaryrefslogtreecommitdiff
path: root/include/offers-new.php
diff options
context:
space:
mode:
authorCamil Staps2016-07-27 16:48:53 +0200
committerCamil Staps2016-07-27 17:08:12 +0200
commit21455bfd1004c4a3153050ac5995b8dc680c2042 (patch)
treeb448f9d94cd9b6addb6d6b391001c418243cc13d /include/offers-new.php
parentRemoved error reporting (diff)
Class names start with a capital
Diffstat (limited to 'include/offers-new.php')
-rw-r--r--include/offers-new.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/offers-new.php b/include/offers-new.php
index 9c499a8..ecd5674 100644
--- a/include/offers-new.php
+++ b/include/offers-new.php
@@ -20,10 +20,10 @@
require_once('./conf.php');
require_once('./login-ajax.php');
-$response = new response();
+$response = new Response();
try {
- $contact = new contact($_pdo, $_REQUEST['contactId']);
+ $contact = new Contact($_pdo, $_REQUEST['contactId']);
$offer = $contact->createOffer();
$response->success = true;