diff options
author | kondou <kondou@ts.unde.re> | 2013-09-06 13:46:50 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-09-06 13:46:50 +0200 |
commit | d18a070a0393ac3846053bcef1833dd01856e117 (patch) | |
tree | c238261eedc69ef4311a4f546a12ea4db60bf35e /core/avatar | |
parent | 221bbd275cf8dfaec5810745ad319f0daeacc8d6 (diff) | |
download | nextcloud-server-d18a070a0393ac3846053bcef1833dd01856e117.tar.gz nextcloud-server-d18a070a0393ac3846053bcef1833dd01856e117.zip |
Have the "notsquare" error as data, not as message
Diffstat (limited to 'core/avatar')
-rw-r--r-- | core/avatar/controller.php | 2 |
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'); |