diff --git a/library/Director/Import/Sync.php b/library/Director/Import/Sync.php index 82976786..00e1678f 100644 --- a/library/Director/Import/Sync.php +++ b/library/Director/Import/Sync.php @@ -436,7 +436,11 @@ class Sync $newVars[$varName] = $val; } else { if ($prop === 'import') { - $imports[] = $val; + if (is_array($val)) { + $imports = array_merge($imports, $val); + } elseif (!is_null($val)) { + $imports[] = $val; + } } else { $newProps[$prop] = $val; }