aboutsummaryrefslogtreecommitdiff
path: root/include/discounts-new.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/discounts-new.php')
-rw-r--r--include/discounts-new.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/discounts-new.php b/include/discounts-new.php
index b0cfa07..26452aa 100644
--- a/include/discounts-new.php
+++ b/include/discounts-new.php
@@ -20,10 +20,10 @@
require_once('./conf.php');
require_once('./login-ajax.php');
-$response = new response();
+$response = new Response();
try {
- $offer = new offer($_pdo, $_REQUEST['offerId']);
+ $offer = new Offer($_pdo, $_REQUEST['offerId']);
$discount = $offer->createDiscount(
$_REQUEST['title'],