]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/filter/verifier/class_PasswordGuestVerifierFilter.php
Changed all true/false to TRUE/FALSE respectively as PHP constants are better than...
[core.git] / inc / classes / main / filter / verifier / class_PasswordGuestVerifierFilter.php
index 51ade97925101b03e443d6f0b2cfa21a5da5cbbc..aa6027af7ae3d651218f222835a298ae2a65550e 100644 (file)
@@ -61,7 +61,7 @@ class PasswordGuestVerifierFilter extends BaseFilter implements Filterable {
                // Is the password still not set?
                if (is_null($password)) {
                        // Not found in form so stop the filtering process
                // Is the password still not set?
                if (is_null($password)) {
                        // Not found in form so stop the filtering process
-                       $requestInstance->requestIsValid(false);
+                       $requestInstance->requestIsValid(FALSE);
 
                        // Add a message to the response
                        $responseInstance->addFatalMessage('password_unset');
 
                        // Add a message to the response
                        $responseInstance->addFatalMessage('password_unset');
@@ -70,7 +70,7 @@ class PasswordGuestVerifierFilter extends BaseFilter implements Filterable {
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
                } elseif (empty($password)) {
                        // Password is empty
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
                } elseif (empty($password)) {
                        // Password is empty
-                       $requestInstance->requestIsValid(false);
+                       $requestInstance->requestIsValid(FALSE);
 
                        // Add a message to the response
                        $responseInstance->addFatalMessage('password_empty');
 
                        // Add a message to the response
                        $responseInstance->addFatalMessage('password_empty');