Now configurable
authorRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 20:52:34 +0000 (20:52 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 20:52:34 +0000 (20:52 +0000)
inc/classes/main/filter/verifier/class_UserStatusVerifierFilter.php

index 14cf2f7145b002358bded6c1c576ad4ac1c58e1a..752cd8db33a0a9cfdab8cd2e177d7b55c38b4a0a 100644 (file)
@@ -57,7 +57,7 @@ class UserStatusVerifierFilter extends BaseFilter implements Filterable {
                $userInstance = Registry::getRegistry()->getInstance('user');
 
                // Is the user account confirmed?
                $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')) && ($requestInstance->getRequestElement('action') != 'status_problem')) {
+               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') != $this->getConfigInstance()->getConfigEntry('action_status_problem'))) {
                        // Request is invalid!
                        $requestInstance->requestIsValid(false);
 
                        // Request is invalid!
                        $requestInstance->requestIsValid(false);