From: Roland Häder Date: Fri, 21 Aug 2009 20:51:11 +0000 (+0000) Subject: action=status_problem excluded X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2ad7bc133e29592c745179686bd230dd54ab1834;p=core.git action=status_problem excluded --- diff --git a/inc/classes/main/filter/verifier/class_UserStatusVerifierFilter.php b/inc/classes/main/filter/verifier/class_UserStatusVerifierFilter.php index 43d71161..14cf2f71 100644 --- a/inc/classes/main/filter/verifier/class_UserStatusVerifierFilter.php +++ b/inc/classes/main/filter/verifier/class_UserStatusVerifierFilter.php @@ -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);