From: quix0r 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=c5173c4d66be7ec72fbf8051a2097cbb377e87a0;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);