aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-07 22:04:31 -0700
committerfriendica <info@friendica.com>2012-07-07 22:04:31 -0700
commit8c3703c4f97ff0f3a54f48a3d02ed15060a2d5c1 (patch)
tree7c8f114e8eb889ca65803d7f28b81388da32ce85 /mod/photos.php
parent1965c7076963e4b0fe43287977f6ece9520ca7c9 (diff)
parent63f10f6c6bb1ce794643b7511ab50cd810b79595 (diff)
downloadvolse-hubzilla-8c3703c4f97ff0f3a54f48a3d02ed15060a2d5c1.tar.gz
volse-hubzilla-8c3703c4f97ff0f3a54f48a3d02ed15060a2d5c1.tar.bz2
volse-hubzilla-8c3703c4f97ff0f3a54f48a3d02ed15060a2d5c1.zip
Merge branch 'master' of file:////home/macgirvin/dev
Conflicts: boot.php
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php3
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');