Skip to content
Snippets Groups Projects
Commit 83e613b4 authored by Bart Visscher's avatar Bart Visscher
Browse files

Fix error path in changedisplayname call

parent 40a5a526
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