aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 42cad42f9..624f0bdca 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -740,8 +740,7 @@ function photos_post(&$a) {
killme();
}
- if($ph->getType() != 'image/png')
- $ph->orient($src);
+ $ph->orient($src);
@unlink($src);
$max_length = get_config('system','max_image_length');