From d3a619659f4815c648603698c13a752d4be3f673 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Fri, 12 Apr 2019 15:38:10 +0200 Subject: Fix 'os_syspath' if we store thumbnails in filesystem --- include/import.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/import.php') diff --git a/include/import.php b/include/import.php index d1d786321..0a70b114c 100644 --- a/include/import.php +++ b/include/import.php @@ -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'])) -- cgit v1.2.3