From cd26e5f40d202d58a313f94aa6abe922385c9d2a Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 10 Nov 2011 17:16:37 +0100 Subject: [PATCH] Fixed user option id --- wcfsetup/install/files/lib/data/user/User.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/user/User.class.php b/wcfsetup/install/files/lib/data/user/User.class.php index 57637ab7c5..b20e373cc2 100644 --- a/wcfsetup/install/files/lib/data/user/User.class.php +++ b/wcfsetup/install/files/lib/data/user/User.class.php @@ -203,7 +203,7 @@ class User extends DatabaseObject { return null; } - return self::$userOptions[$name]['optionID']; + return self::$userOptions[$name]->optionID; } /** -- 2.20.1