Fixed fatal error in session handler
authorMarcel Werk <burntime@woltlab.com>
Tue, 5 Jun 2012 16:33:43 +0000 (18:33 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 5 Jun 2012 16:33:43 +0000 (18:33 +0200)
wcfsetup/install/files/lib/system/session/SessionHandler.class.php

index d1fe3a00ca4be191735d128108bed3dd1e9ecfd1..3bdeecca8f50b6a62a115408f1ccc7a6dc73248f 100644 (file)
@@ -336,7 +336,7 @@ class SessionHandler extends SingletonFactory {
                if ($this->user->userID != 0) {
                        // user is no guest
                        // delete all other sessions of this user
-                       call_user_func(array($this->sessionEditorClassName, 'deleteUserSessions', array($this->user->userID)));
+                       call_user_func(array($this->sessionEditorClassName, 'deleteUserSessions'), array($this->user->userID));
                }
                
                // save session