From 25779f28fa219c2ffe1e7ee1019954b08619e718 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 21 Feb 2012 17:06:56 +0100 Subject: [PATCH] Added a missing default value --- .../files/lib/system/option/user/UserOptionHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/option/user/UserOptionHandler.class.php b/wcfsetup/install/files/lib/system/option/user/UserOptionHandler.class.php index e187271832..7036dc88ea 100644 --- a/wcfsetup/install/files/lib/system/option/user/UserOptionHandler.class.php +++ b/wcfsetup/install/files/lib/system/option/user/UserOptionHandler.class.php @@ -50,7 +50,7 @@ class UserOptionHandler extends OptionHandler { * @param wcf\data\user\User $user * @param array $ignoreCategories */ - public function setUser(User $user, array $ignoreCategories) { + public function setUser(User $user, array $ignoreCategories = array()) { $this->optionValues = array(); $this->user = $user; -- 2.20.1