diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-02-22 02:14:00 -0800 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-02-22 02:14:00 -0800 |
commit | 31d2b9bc07980a872721d5c79230724ce387b41c (patch) | |
tree | d49258c3e1b23b56a69ab2f6c6dd23006a9b3044 /settings | |
parent | 734a4632975f68d1e90407bc4d7fd9c79c20930c (diff) | |
parent | 83e613b45a31b62c13f42c9b25a0be81c2c5c6c8 (diff) | |
download | nextcloud-server-31d2b9bc07980a872721d5c79230724ce387b41c.tar.gz nextcloud-server-31d2b9bc07980a872721d5c79230724ce387b41c.zip |
Merge pull request #1838 from owncloud/fix-changedisplayname-call
Fix error path in changedisplayname call
Diffstat (limited to 'settings')
-rw-r--r-- | settings/ajax/changedisplayname.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/ajax/changedisplayname.php b/settings/ajax/changedisplayname.php index 69462330765..08c1b1455cd 100644 --- a/settings/ajax/changedisplayname.php +++ b/settings/ajax/changedisplayname.php @@ -29,5 +29,5 @@ if( OC_User::setDisplayName( $username, $displayName )) { OC_JSON::success(array("data" => array( "username" => $username, 'displayName' => $displayName )));
}
else{
- OC_JSON::error(array("data" => array( "message" => $l->t("Unable to change display name"), displayName => OC_User::getDisplayName($username) )));
-}
\ No newline at end of file + OC_JSON::error(array("data" => array( "message" => $l->t("Unable to change display name"), 'displayName' => OC_User::getDisplayName($username) ))); +} |