Fix thumbnails processing logic on files sync

This commit is contained in:
Max Kostikov 2019-06-21 23:15:16 +02:00
parent 8730bbac2f
commit b1b415ec5b

View File

@ -1390,7 +1390,7 @@ function sync_files($channel, $files) {
$p['content'] = (($p['content'])? base64_decode($p['content']) : ''); $p['content'] = (($p['content'])? base64_decode($p['content']) : '');
} }
if (intval($p['imgscale']) && ((intval($p['os_storage'])) || (! $p['content']))) { if(intval($p['imgscale'])) {
$time = datetime_convert(); $time = datetime_convert();