From: Roland Häder Date: Mon, 10 Jan 2011 08:33:31 +0000 (+0000) Subject: Fix for missing variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f5e2b428b0b5206b5758190d379d5c9d6bdce9e1;p=mailer.git Fix for missing variable --- 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);