A lot has been rewritten, ext-teams added, ext-forced continued:
[mailer.git] / inc / filter / admins_filter.php
index d38acb9af7c467d8c16345e2b8f2eae52ea15b14..2a46f82d613ef5f484c8084a533ecdab553f67c1 100644 (file)
@@ -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);