summaryrefslogtreecommitdiffstats
path: root/settings/ajax/changedisplayname.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/changedisplayname.php')
-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) )));
+}