X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffilter%2Fadmins_filter.php;h=2a46f82d613ef5f484c8084a533ecdab553f67c1;hp=d38acb9af7c467d8c16345e2b8f2eae52ea15b14;hb=0f3a135204757cc8750262871c8e62c42300acb4;hpb=57aba9aa64d68803d361e60ffb09766ca770ef9f diff --git a/inc/filter/admins_filter.php b/inc/filter/admins_filter.php index d38acb9af7..2a46f82d61 100644 --- a/inc/filter/admins_filter.php +++ b/inc/filter/admins_filter.php @@ -47,7 +47,7 @@ function FILTER_ADD_EXTRA_SQL_DATA ($add = '') { if (isExtensionInstalledAndNewer('admins', '0.3.0')) $add .= ', `default_acl` AS def_acl'; if (isExtensionInstalledAndNewer('admins', '0.6.7')) $add .= ', `la_mode`'; if (isExtensionInstalledAndNewer('admins', '0.7.2')) $add .= ', `login_failures`, UNIX_TIMESTAMP(`last_failure`) AS last_failure'; - if (isExtensionInstalledAndNewer('admins', '0.7.3')) $add .= ', `expert_settings`, `expert_warning`'; + if (isExtensionInstalledAndNewer('admins', '0.7.3')) $add .= ', `expert_settings`,`expert_warning`'; // Return it //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!'); @@ -64,7 +64,7 @@ function FILTER_RESET_ADMINS_LOGIN_FAILURES ($filterData) { // Prepare update data $postData['login'][getCurrentAdminId()] = $filterData['login']; $postData['login_failures'][getCurrentAdminId()] = '0'; - $postData['last_failure'][getCurrentAdminId()] = null; + $postData['last_failure'][getCurrentAdminId()] = NULL; // Change it in the admin adminsChangeAdminAccount($postData);