diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-28 18:37:05 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-28 18:37:05 -0700 |
commit | 245c2d4eed17a7c34c2b6d63f3db65b0f573b1f3 (patch) | |
tree | e1f421b1c5bda401c9d64ea77b27e53d1f539d94 /include/import.php | |
parent | 095e2bf0b39fdf18217b15f5f743e32e2a49d587 (diff) | |
download | volse-hubzilla-245c2d4eed17a7c34c2b6d63f3db65b0f573b1f3.tar.gz volse-hubzilla-245c2d4eed17a7c34c2b6d63f3db65b0f573b1f3.tar.bz2 volse-hubzilla-245c2d4eed17a7c34c2b6d63f3db65b0f573b1f3.zip |
issue #519 continued
Diffstat (limited to 'include/import.php')
-rw-r--r-- | include/import.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/import.php b/include/import.php index 1d636bfbd..470ef982e 100644 --- a/include/import.php +++ b/include/import.php @@ -1106,8 +1106,11 @@ function sync_files($channel,$files) { // If the hash ever contains any escapable chars this could cause // problems. Currently it does not. - dbesc_array($att); + // @TODO implement os_path + if(!isset($att['os_path'])) + $att['os_path'] = ''; + dbesc_array($att); if($attach_exists) { logger('sync_files attach exists: ' . print_r($att,true), LOGGER_DEBUG); |