summaryrefslogtreecommitdiffstats
path: root/core/avatar
diff options
context:
space:
mode:
Diffstat (limited to 'core/avatar')
-rw-r--r--core/avatar/controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/avatar/controller.php b/core/avatar/controller.php
index 55fdd7f74a0..bc0eb6eff3b 100644
--- a/core/avatar/controller.php
+++ b/core/avatar/controller.php
@@ -71,7 +71,7 @@ class Controller {
if ($image->valid()) {
\OC_Cache::set('tmpavatar', $image->data(), 7200);
- \OC_JSON::error(array("data" => array("message" => "notsquare") ));
+ \OC_JSON::error(array("data" => "notsquare"));
} else {
$l = new \OC_L10n('core');