aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/import.php4
1 files changed, 3 insertions, 1 deletions
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']))