aboutsummaryrefslogtreecommitdiff
path: root/include/assignments-edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/assignments-edit.php')
-rw-r--r--include/assignments-edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/assignments-edit.php b/include/assignments-edit.php
index 7c63680..d2f5a6c 100644
--- a/include/assignments-edit.php
+++ b/include/assignments-edit.php
@@ -20,10 +20,10 @@
require_once('./conf.php');
require_once('./login-ajax.php');
-$response = new response();
+$response = new Response();
try {
- $assignment = new assignment($_pdo, $_REQUEST['pk']);
+ $assignment = new Assignment($_pdo, $_REQUEST['pk']);
$name = explode('-', $_REQUEST['name']);
$what_to_edit = $name[count($name) - 1];