diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/attach.php | 1 | ||||
-rw-r--r-- | include/import.php | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php index ef3d6e242..067da21ae 100644 --- a/include/attach.php +++ b/include/attach.php @@ -2442,7 +2442,6 @@ function attach_export_data($channel, $resource_id, $deleted = false, $zap_compa return $ret; } - /** * @brief Strip off 'store/nickname/' from the provided path * 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); |