diff options
author | kondou <kondou@ts.unde.re> | 2013-08-29 14:26:11 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-08-29 14:26:11 +0200 |
commit | 0c708be76bd7c7449779ef12e48e99d9c2cd3d82 (patch) | |
tree | e58bdf611bb96f3f73d469d9a65179dbc1f1838e /core/avatar/controller.php | |
parent | e66113f50d9e39e3e370be0e714669f2917f9ccf (diff) | |
download | nextcloud-server-0c708be76bd7c7449779ef12e48e99d9c2cd3d82.tar.gz nextcloud-server-0c708be76bd7c7449779ef12e48e99d9c2cd3d82.zip |
Use defaultavatars
Diffstat (limited to 'core/avatar/controller.php')
-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 8492ee909c6..64d9eafe52b 100644 --- a/core/avatar/controller.php +++ b/core/avatar/controller.php @@ -31,7 +31,7 @@ class OC_Core_Avatar_Controller { if ($image instanceof \OC_Image) { $image->show(); } elseif ($image === false) { - \OC_JSON::success(array('user' => $user, 'size' => $size)); + \OC_JSON::success(array('user' => \OC_User::getDisplayName($user), 'size' => $size)); } } |