mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
can NOT use empty($idx) as it is true for 0 too!
This commit is contained in:
parent
4d52be1f1c
commit
7b7132314c
@ -695,7 +695,7 @@ class boetemplate extends soetemplate
|
||||
}
|
||||
if (is_object($idx)) return false; // given an error in php5.2
|
||||
|
||||
if (empty($idx))
|
||||
if ((string)$idx === '')
|
||||
{
|
||||
$idxs = array();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user