Fixed visibility override within RegisterForm
authorAlexander Ebert <ebert@woltlab.com>
Thu, 14 Jun 2012 15:09:35 +0000 (17:09 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 14 Jun 2012 15:09:35 +0000 (17:09 +0200)
wcfsetup/install/files/lib/system/option/user/UserOptionHandler.class.php

index 1ba126c9bfb69436175709fd4e0255da881017a5..09a10b6c4249608294310c475419b79a97354737 100644 (file)
@@ -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;
        }
        
        /**