mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
"fixed is not array warning in addressbook display block"
This commit is contained in:
parent
98eb1f18cc
commit
5f87546421
@ -35,7 +35,7 @@ function get_rows(&$query,&$rows,&$readonlys,$id_only=false)
|
||||
$total = parent::get_rows($query,$rows,$readonlys);
|
||||
$query['template'] = $query['sitemgr_display'].'.rows';
|
||||
|
||||
foreach($query['fields'] as $name)
|
||||
if (is_array($query['fields'])) foreach($query['fields'] as $name)
|
||||
{
|
||||
$rows['show'][$name]=true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user