"fixed is not array warning in addressbook display block"

This commit is contained in:
Stefan Becker 2008-07-03 08:03:23 +00:00
parent 98eb1f18cc
commit 5f87546421

View File

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