Added a missing default value
authorAlexander Ebert <ebert@woltlab.com>
Tue, 21 Feb 2012 16:06:56 +0000 (17:06 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 21 Feb 2012 16:06:56 +0000 (17:06 +0100)
wcfsetup/install/files/lib/system/option/user/UserOptionHandler.class.php

index e187271832d9cda1046a2dea4333de816aa1ef72..7036dc88eaece756f866786000a555102d8d4bd7 100644 (file)
@@ -50,7 +50,7 @@ class UserOptionHandler extends OptionHandler {
         * @param       wcf\data\user\User      $user
         * @param       array<string>           $ignoreCategories
         */
-       public function setUser(User $user, array $ignoreCategories) {
+       public function setUser(User $user, array $ignoreCategories = array()) {
                $this->optionValues = array();
                $this->user = $user;