forked from extern/egroupware
fixed first row with index="0" got displayed wired eg. in file selection popup, caused by empty("0") === true
This commit is contained in:
parent
34e5d01de4
commit
e4e3627cdc
@ -1059,7 +1059,7 @@ class etemplate_old extends boetemplate
|
||||
}
|
||||
$form_name = self::form_name($cname,$name);
|
||||
|
||||
if (!empty($name))
|
||||
if ((string)$name !== '')
|
||||
{
|
||||
$value = $this->get_array($content,$name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user