Merge remote-tracking branch 'refs/remotes/origin/master' into next
authorAlexander Ebert <ebert@woltlab.com>
Fri, 4 Mar 2016 12:24:25 +0000 (13:24 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 4 Mar 2016 12:24:25 +0000 (13:24 +0100)
# Conflicts:
# com.woltlab.wcf/package.xml
# wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js
# wcfsetup/install/files/js/3rdParty/redactor/plugins/wcombined.min.js
# wcfsetup/install/files/js/WCF.Combined.min.js
# wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php
# wcfsetup/install/files/lib/system/WCF.class.php

# wcfsetup/install/files/lib/system/option/user/UserOptionHandler.class.php

1  2 
wcfsetup/install/files/js/WCF.ImageViewer.js
wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php
wcfsetup/install/files/lib/data/notice/NoticeAction.class.php
wcfsetup/install/files/lib/page/MultipleLinkPage.class.php
wcfsetup/install/files/lib/system/option/user/UserOptionHandler.class.php
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index dac09beca7b06a158a3e087c54d97dc9d4da5862,5387eacdf0b0e124703a1eb590b16b2fc7f92cea..fb7d5812237769e8191bed2be2ef40f05b32b00a
@@@ -265,7 -264,7 +265,7 @@@ class UserOptionHandler extends OptionH
                // remove options which are not asked during registration
                if ($this->inRegistration && !empty($options)) {
                        foreach ($this->options as $option) {
-                               if (!$option->askDuringRegistration && !($option->editable & UserOption::EDITABILITY_OWNER_DURING_REGISTRATION) && array_key_exists($option->optionID, $options)) {
 -                              if (array_key_exists($option->optionID, $options) && !$option->askDuringRegistration && !$option->required && ($option->optionName != 'birthday' || !REGISTER_MIN_USER_AGE)) {
++                              if (array_key_exists($option->optionID, $options) && !$option->askDuringRegistration && !($option->editable & UserOption::EDITABILITY_OWNER_DURING_REGISTRATION) && !$option->required && ($option->optionName != 'birthday' || !REGISTER_MIN_USER_AGE)) {
                                        unset($options[$option->optionID]);
                                }
                        }
Simple merge
Simple merge