From fc2d3f8a932593799593ff98c4ab35d6c47c1052 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 14 Jun 2012 17:09:35 +0200 Subject: [PATCH] Fixed visibility override within RegisterForm --- .../files/lib/system/option/user/UserOptionHandler.class.php | 3 ++- 1 file changed, 2 insertions(+), 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 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; } /** -- 2.20.1