From: Alexander Ebert Date: Mon, 21 Jul 2014 13:40:14 +0000 (+0200) Subject: Fix for user creation X-Git-Tag: 2.1.0_Alpha_1~548^2~17^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=85298945ec1fa9281bdab2afbc6f83dc18631982;p=GitHub%2FWoltLab%2FWCF.git Fix for user creation --- diff --git a/wcfsetup/install/files/lib/data/user/UserAction.class.php b/wcfsetup/install/files/lib/data/user/UserAction.class.php index 333ec0e2d1..c4fc29578b 100644 --- a/wcfsetup/install/files/lib/data/user/UserAction.class.php +++ b/wcfsetup/install/files/lib/data/user/UserAction.class.php @@ -262,6 +262,10 @@ class UserAction extends AbstractDatabaseObjectAction implements IClipboardActio * @return User */ public function create() { + if (!isset($this->parameters['data']['socialNetworkPrivacySettings'])) { + $this->parameters['data']['socialNetworkPrivacySettings'] = ''; + } + $user = parent::create(); $userEditor = new UserEditor($user);