Skip to content
Snippets Groups Projects
Commit 31d2b9bc authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #1838 from owncloud/fix-changedisplayname-call

Fix error path in changedisplayname call
parents 734a4632 83e613b4
No related branches found
No related tags found
No related merge requests found
......@@ -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) )));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment