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 37ddef412ea..9f7c0517c4a 100644
--- a/core/avatar/controller.php
+++ b/core/avatar/controller.php
@@ -147,7 +147,7 @@ class Controller {
$image->crop($crop['x'], $crop['y'], $crop['w'], $crop['h']);
try {
$avatar = new \OC_Avatar($user);
- $avatar->set($$image->data());
+ $avatar->set($image->data());
// Clean up
\OC_Cache::remove('tmpavatar');
\OC_JSON::success();