From f5e2b428b0b5206b5758190d379d5c9d6bdce9e1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 10 Jan 2011 08:33:31 +0000 Subject: [PATCH] Fix for missing variable --- inc/modules/admin/admin-inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/modules/admin/admin-inc.php b/inc/modules/admin/admin-inc.php index 0bc05eba30..3ddc50cb8a 100644 --- a/inc/modules/admin/admin-inc.php +++ b/inc/modules/admin/admin-inc.php @@ -72,8 +72,9 @@ function addAdminAccount ($adminLogin, $passHash, $adminEmail) { // This function will be executed when the admin is not logged in and has submitted his login data function ifAdminLoginDataIsValid ($adminLogin, $adminPassword) { - // First of all, no admin login is found + // First of all, no admin login is found, so the admin hash is null $ret = '404'; + $adminHash = null; // Get admin id from login $adminId = getAdminId($adminLogin); -- 2.39.5