forked from leftypol/leftypol
post.php: fix undefined exif_stripped
This commit is contained in:
parent
d224c0af23
commit
92fc2daa9c
1 changed files with 1 additions and 1 deletions
2
post.php
2
post.php
|
@ -1402,7 +1402,7 @@ function handle_post(Context $ctx)
|
|||
$file['thumbwidth'] = $size[0];
|
||||
$file['thumbheight'] = $size[1];
|
||||
} elseif (
|
||||
(($config['strip_exif'] && $file['exif_stripped']) || !$config['strip_exif']) &&
|
||||
(($config['strip_exif'] && isset($file['exif_stripped']) && $file['exif_stripped']) || !$config['strip_exif']) &&
|
||||
$image->size->width <= $config['thumb_width'] &&
|
||||
$image->size->height <= $config['thumb_height'] &&
|
||||
$file['extension'] == ($config['thumb_ext'] ? $config['thumb_ext'] : $file['extension'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue