]> git.mxchange.org Git - core.git/commitdiff
action=status_problem excluded
authorRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 20:51:11 +0000 (20:51 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 20:51:11 +0000 (20:51 +0000)
inc/classes/main/filter/verifier/class_UserStatusVerifierFilter.php

index 43d7116105564a7cffd4bf0589512642c5301f6e..14cf2f7145b002358bded6c1c576ad4ac1c58e1a 100644 (file)
@@ -57,7 +57,7 @@ class UserStatusVerifierFilter extends BaseFilter implements Filterable {
                $userInstance = Registry::getRegistry()->getInstance('user');
 
                // Is the user account confirmed?
-               if (($userInstance->getField(UserDatabaseWrapper::DB_COLUMN_USER_STATUS) != $this->getConfigInstance()->getConfigEntry('user_status_confirmed')) && ($userInstance->getField(UserDatabaseWrapper::DB_COLUMN_USER_STATUS) != $this->getConfigInstance()->getConfigEntry('user_status_guest'))) {
+               if (($userInstance->getField(UserDatabaseWrapper::DB_COLUMN_USER_STATUS) != $this->getConfigInstance()->getConfigEntry('user_status_confirmed')) && ($userInstance->getField(UserDatabaseWrapper::DB_COLUMN_USER_STATUS) != $this->getConfigInstance()->getConfigEntry('user_status_guest')) && ($requestInstance->getRequestElement('action') != 'status_problem')) {
                        // Request is invalid!
                        $requestInstance->requestIsValid(false);