diff options
author | Max Kostikov <max@kostikov.co> | 2019-04-12 15:38:10 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-04-12 15:38:10 +0200 |
commit | d3a619659f4815c648603698c13a752d4be3f673 (patch) | |
tree | 7347bcd88ac0c9c71469a32d3db91be18e2164c4 /include/import.php | |
parent | 979f2415fba6d690e0c9d244e28437908b481a48 (diff) | |
download | volse-hubzilla-d3a619659f4815c648603698c13a752d4be3f673.tar.gz volse-hubzilla-d3a619659f4815c648603698c13a752d4be3f673.tar.bz2 volse-hubzilla-d3a619659f4815c648603698c13a752d4be3f673.zip |
Fix 'os_syspath' if we store thumbnails in filesystem
Diffstat (limited to 'include/import.php')
-rw-r--r-- | include/import.php | 4 |
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'])) |