fix template

master
vitalif 2013-02-19 10:53:47 +00:00
parent ea2cd9e5e0
commit 47509a3ff2
1 changed files with 1 additions and 1 deletions

View File

@ -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