From 4ba47698d7d0ef6c799bd0a28045c1d1e49c76f3 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 29 Sep 2021 21:47:12 +0200 Subject: revise content import/export part 2 --- include/import.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/import.php') diff --git a/include/import.php b/include/import.php index ae7b2787a..f635f3705 100644 --- a/include/import.php +++ b/include/import.php @@ -1265,6 +1265,7 @@ function sync_files($channel, $files) { $store_path = $newfname; + $fp = fopen($newfname,'w'); if(! $fp) { logger('failed to open storage file.',LOGGER_NORMAL,LOG_ERR); -- cgit v1.2.3