From 4098eacf03b2ff50c743313f7a859cd49d700a6b Mon Sep 17 00:00:00 2001 From: Jay Trees Date: Mon, 7 Feb 2022 15:18:39 +0100 Subject: [PATCH] Fix undefined variable --- src/pages/login.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/login.php b/src/pages/login.php index 9dc0f4c1..755bef8c 100644 --- a/src/pages/login.php +++ b/src/pages/login.php @@ -8,7 +8,7 @@ use wishthis\Page; -$page = new page(__FILE__, 'Login'); +$page = new page(__FILE__, 'Login'); if (isset($_POST['email'], $_POST['password'])) { $email = $_POST['email']; @@ -45,7 +45,7 @@ $page->navigation();

title ?>

error('Invalid credentials!', 'Error'); } ?>