- XHTML errors/warnings fixed in some pages
[shipsimu.git] / application / ship-simu / main / login / class_ShipSimuGuestLogin.php
index ba7ac31f961fbd4d5e80f5cdb9d161dfcb36bc49..7336865d406b767c48adaab4dfd8f26ee2c26f9c 100644 (file)
@@ -103,7 +103,7 @@ class ShipSimuGuestLogin extends BaseFrameworkSystem implements LoginableUser {
                } // END - if
 
                // Is the password correct?
-               if (!$userInstance->ifPasswordHashMatches($requestInstance)) {
+               if ($userInstance->ifPasswordHashMatches($requestInstance) === false) {
                        // Mismatching password
                        throw new UserPasswordMismatchException(array($this, $userInstance), BaseUser::EXCEPTION_USER_PASS_MISMATCH);
                } // END - if