parent
66ff070c77
commit
ad825f9c58
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue