X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fadmin-inc.php;h=8be13d2e1652d116158aa7125d7a0872524d4fb8;hp=57a889db6c197ca5ad162709d20716beac2a32eb;hb=ca256746fe0757a23df4064824c8fe2087ad5634;hpb=387d390181f4aefd6d1e6d8fe16d9697801e99d7 diff --git a/inc/modules/admin/admin-inc.php b/inc/modules/admin/admin-inc.php index 57a889db6c..8be13d2e16 100644 --- a/inc/modules/admin/admin-inc.php +++ b/inc/modules/admin/admin-inc.php @@ -92,7 +92,7 @@ function ifAdminLoginDataIsValid ($adminLogin, $adminPassword) { $adminId = getAdminId($adminLogin); // Continue only with found admin ids - if ($adminId > 0) { + if (isValidId($adminId)) { // Then we need to lookup the login name by getting the admin hash $adminHash = getAdminHash($adminId); @@ -541,7 +541,7 @@ function adminMenuSelectionBox_DEPRECATED ($mode, $default = '', $defid = '') { if (!SQL_HASZERONUMS($result)) { // Load menu as selection $OUT = '