From: Alexander Ebert Date: Thu, 14 Jun 2012 15:09:35 +0000 (+0200) Subject: Fixed visibility override within RegisterForm X-Git-Tag: 2.0.0_Beta_1~1070 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fc2d3f8a932593799593ff98c4ab35d6c47c1052;p=GitHub%2FWoltLab%2FWCF.git Fixed visibility override within RegisterForm --- 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 1ba126c9bf..09a10b6c42 100644 --- a/wcfsetup/install/files/lib/system/option/user/UserOptionHandler.class.php +++ b/wcfsetup/install/files/lib/system/option/user/UserOptionHandler.class.php @@ -51,12 +51,13 @@ class UserOptionHandler extends OptionHandler { } /** - * Sets registration mode. + * Sets registration mode and disables visibility override. * * @param boolean $inRegistration */ public function setInRegistration($inRegistration) { $this->inRegistration = $inRegistration; + $this->overrideVisibility = false; } /**