Opps, a parser error was introduced last commit.
authorRoland Haeder <roland@mxchange.org>
Tue, 7 Apr 2015 22:54:34 +0000 (00:54 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 7 Apr 2015 22:54:34 +0000 (00:54 +0200)
Signed-off-by: Roland H├Ąder <roland@mxchange.org>
inc/classes/main/user/member/class_Member.php

index 1b939c2..b88b55b 100644 (file)
@@ -53,7 +53,7 @@ class Member extends BaseUser implements ManageableMember, Registerable {
                if ($userInstance->ifUsernameExists() === FALSE) {
                        // Throw an exception here
                        throw new UsernameMissingException(array($userInstance, $userName), self::EXCEPTION_USERNAME_NOT_FOUND);
-               } elseif ($userInstance->isGuest()) === TRUE) {
+               } elseif ($userInstance->isGuest() === TRUE) {
                        // User should not be a guest here
                        throw new UnexpectedGuestAccountException(array($userInstance, $userName), self::EXCEPTION_USERNAME_NOT_FOUND);
                }