Fix 'os_syspath' if we store thumbnails in filesystem

This commit is contained in:
Max Kostikov 2019-04-12 15:38:10 +02:00
parent 979f2415fb
commit d3a619659f

View File

@ -1423,8 +1423,10 @@ function sync_files($channel, $files) {
$p['content'] = file_get_contents($stored_image);
@unlink($stored_image);
}
else
else {
$p['os_storage'] = 1;
$p['os_syspath'] = $stored_image;
}
}
if(!isset($p['display_path']))