diff options
author | friendica <info@friendica.com> | 2012-07-07 21:55:15 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-07-07 21:55:15 -0700 |
commit | 63f10f6c6bb1ce794643b7511ab50cd810b79595 (patch) | |
tree | 3e773f767eff7c37e80e83cbfc8de02d330a58b7 /mod/photos.php | |
parent | e94f7ed23d18e811e31cb4656a55b97f328534b7 (diff) | |
parent | a3640b4e9f8c457c8761ccedf7757ce6dfe733c2 (diff) | |
download | volse-hubzilla-63f10f6c6bb1ce794643b7511ab50cd810b79595.tar.gz volse-hubzilla-63f10f6c6bb1ce794643b7511ab50cd810b79595.tar.bz2 volse-hubzilla-63f10f6c6bb1ce794643b7511ab50cd810b79595.zip |
Merge https://github.com/friendica/friendica into pull
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php index 624f0bdca..42cad42f9 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -740,7 +740,8 @@ function photos_post(&$a) { killme(); } - $ph->orient($src); + if($ph->getType() != 'image/png') + $ph->orient($src); @unlink($src); $max_length = get_config('system','max_image_length'); |