diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/AvatarController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Controller/AvatarController.php b/core/Controller/AvatarController.php index c6f320dd0fe..5e3d563cf2c 100644 --- a/core/Controller/AvatarController.php +++ b/core/Controller/AvatarController.php @@ -237,6 +237,7 @@ class AvatarController extends Controller { try { $image = new \OC_Image(); $image->loadFromData($content); + $image->readExif($content); $image->fixOrientation(); if ($image->valid()) { |