fix template
parent
ea2cd9e5e0
commit
47509a3ff2
|
@ -473,7 +473,7 @@ class VMXTemplate
|
|||
static function is_assoc($a)
|
||||
{
|
||||
reset($a);
|
||||
return !is_int(key($a));
|
||||
return $a && !is_int(key($a));
|
||||
}
|
||||
|
||||
// Merge all scalar and list arguments into one list
|
||||
|
|
Loading…
Reference in New Issue