[php-blog-cvs] r431 - trunk/include
A reliable, secure & extensible PHP blog | Not mainstream since 2002
Brought to you by:
garvinhicking,
jhermanns
From: Garvin H. at B. <gar...@ma...> - 2005-08-23 11:07:46
|
Author: garvinhicking Date: 2005-08-23 13:07:04 +0200 (Tue, 23 Aug 2005) New Revision: 431 Modified: trunk/include/functions_config.inc.php Log: array check Modified: trunk/include/functions_config.inc.php =================================================================== --- trunk/include/functions_config.inc.php 2005-08-23 11:03:09 UTC (rev 430) +++ trunk/include/functions_config.inc.php 2005-08-23 11:07:04 UTC (rev 431) @@ -752,6 +752,10 @@ LEFT OUTER JOIN {$serendipity['dbPrefix']}groups AS g ON g.id = ag.groupid WHERE ag.authorid = " . (int)$authorid, false, 'assoc'); + if (!is_array($groups)) { + $groups = array(); + } + if ($sequence) { $_groups = $groups; $groups = array(); |