aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-06-27 15:20:06 +0000
committerMario <mario@mariovavti.com>2021-06-27 15:20:06 +0000
commit3f6b6dfaf3ea8fbb2845d3f3c40e00a0e6d3ce06 (patch)
tree54a64c9d01da16db29c320606b799ff0f7df9f44 /include/attach.php
parentd3d4dee36a200fc318370cba977025e109a84370 (diff)
downloadvolse-hubzilla-3f6b6dfaf3ea8fbb2845d3f3c40e00a0e6d3ce06.tar.gz
volse-hubzilla-3f6b6dfaf3ea8fbb2845d3f3c40e00a0e6d3ce06.tar.bz2
volse-hubzilla-3f6b6dfaf3ea8fbb2845d3f3c40e00a0e6d3ce06.zip
fix regression in relation with recent photo changes
Diffstat (limited to 'include/attach.php')
-rw-r--r--include/attach.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/attach.php b/include/attach.php
index db7046ef0..09d4005e8 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -668,8 +668,8 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
$def_extension = '.jpg';
if($gis[2] === IMAGETYPE_PNG)
$def_extension = '.png';
- if($gis[2] === IMAGETYPE_WEBP)
- $def_extension = '.webp';
+ if($gis[2] === IMAGETYPE_WEBP)
+ $def_extension = '.webp';
}
// If we know it's a photo, over-ride the type in case the source system could not determine what it was