aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/photos.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/photos.php b/mod/photos.php
index a6552994e..4fa8aca08 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -718,6 +718,7 @@ function photos_post(&$a) {
killme();
}
+ $ph->orient($src);
@unlink($src);
$width = $ph->getWidth();