mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 05:41:02 +01:00
can NOT use empty($idx) as it is true for 0 too!
This commit is contained in:
parent
c3fc9d9c2a
commit
2b9d56c7f0
@ -653,7 +653,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