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/assignments.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/assignments.php') diff --git a/include/assignments.php b/include/assignments.php index 14ed8da..7c3c79d 100644 --- a/include/assignments.php +++ b/include/assignments.php @@ -45,8 +45,8 @@ require('./header.php'); if (isset($_GET['id'])) { $id = (int) $_GET['id']; try { - $assignment = new assignment($_pdo, $id); - $header = "Assignments / {$assignment->getTitle()}"; + $assignment = new Assignment($_pdo, $id); + $header = "Assignments / {$assignment->getTitle()}"; $show_individual = $id; } catch (PDOException $e) { $alert = "