diff options
Diffstat (limited to 'settings/Controller/UsersController.php')
-rw-r--r-- | settings/Controller/UsersController.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/settings/Controller/UsersController.php b/settings/Controller/UsersController.php index 35344234330..6791475ce52 100644 --- a/settings/Controller/UsersController.php +++ b/settings/Controller/UsersController.php @@ -534,10 +534,10 @@ class UsersController extends Controller { $data = [ 'avatar' => ['scope' => $avatarScope], 'displayName' => ['value' => $displayname, 'scope' => $displaynameScope], - 'email' => ['value' => $email, 'scope' => $emailScope], - 'website' => ['value' => $website, 'scope' => $websiteScope], - 'address' => ['value' => $address, 'scope' => $addressScope], - 'phone' => ['value' => $phone, 'scope' => $phoneScope] + 'email' => [['value' => $email, 'scope' => $emailScope]], + 'website' => [['value' => $website, 'scope' => $websiteScope]], + 'address' => [['value' => $address, 'scope' => $addressScope]], + 'phone' => [['value' => $phone, 'scope' => $phoneScope]] ]; $this->accountManager->updateUser($userId, $data); |