aboutsummaryrefslogtreecommitdiffstats
path: root/include/import.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/import.php')
-rw-r--r--include/import.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/import.php b/include/import.php
index 4225fe493..d5f6e5c8a 100644
--- a/include/import.php
+++ b/include/import.php
@@ -1026,7 +1026,8 @@ function sync_files($channel,$files) {
if($attach_exists) {
logger('sync_files attach exists: ' . print_r($att,true), LOGGER_DEBUG);
- dbesc_array($att);
+ if(! dbesc_array($att))
+ continue;
$str = '';
foreach($att as $k => $v) {
if($str)
@@ -1140,7 +1141,8 @@ function sync_files($channel,$files) {
if($exists) {
- dbesc_array($p);
+ if(! dbesc_array($p))
+ continue;
$str = '';
foreach($p as $k => $v) {
if($str)