summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-22 00:49:44 +0100
committerBart Visscher <bartv@thisnet.nl>2013-02-22 00:49:44 +0100
commit83e613b45a31b62c13f42c9b25a0be81c2c5c6c8 (patch)
treeadd5f8e641309290579812fdc93b1f76fc91a55c /settings
parent40a5a526841d379da5d554a6f69ad0aef25acb7d (diff)
downloadnextcloud-server-83e613b45a31b62c13f42c9b25a0be81c2c5c6c8.tar.gz
nextcloud-server-83e613b45a31b62c13f42c9b25a0be81c2c5c6c8.zip
Fix error path in changedisplayname call
Diffstat (limited to 'settings')
-rw-r--r--settings/ajax/changedisplayname.php4
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) )));
+}