From a889dc85251c4f8f6d34c94d7849b630a4bb9717 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 30 Nov 2011 16:15:40 +0100 Subject: [PATCH] Fixed option handler not displaying user values --- .../lib/system/option/user/UserOptionHandler.class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 1eef943e3e..ee50ce3690 100644 --- a/wcfsetup/install/files/lib/system/option/user/UserOptionHandler.class.php +++ b/wcfsetup/install/files/lib/system/option/user/UserOptionHandler.class.php @@ -53,16 +53,16 @@ class UserOptionHandler extends OptionHandler { $this->optionValues = array(); $this->user = $user; - foreach ($this->options as $option) { - $userOption = 'userOption' . $option->optionID; - $this->optionValues[$option->optionName] = $this->user->{$userOption}; - } - if (!$this->didInit) { $this->loadActiveOptions($this->categoryName); $this->didInit = true; } + + foreach ($this->options as $option) { + $userOption = 'userOption' . $option->optionID; + $this->optionValues[$option->optionName] = $this->user->{$userOption}; + } } /** -- 2.20.1