Fixed handling of additionalFields
authorMarcel Werk <burntime@woltlab.com>
Fri, 19 Jun 2015 17:18:35 +0000 (19:18 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 19 Jun 2015 17:18:35 +0000 (19:18 +0200)
wcfsetup/install/files/lib/form/AccountManagementForm.class.php

index 068a5f0ead602bacb1a337d843c12db340faa2a6..5aeefea8cdccefb2cfe4d2b32fed59af4551d0ea 100644 (file)
@@ -432,7 +432,7 @@ class AccountManagementForm extends AbstractForm {
                }
                
                $data = array();
-               if (!empty($updateParameters)) {
+               if (!empty($updateParameters) || !empty($this->additionalFields)) {
                        $data['data'] = array_merge($this->additionalFields, $updateParameters);
                }
                if (!empty($updateOptions)) {