Revision 1411
Added by FrankH almost 14 years ago
- Bugfix for Tickets 965, 966 and 910
index.php | ||
---|---|---|
231 | 231 |
|
232 | 232 |
// $query_sections = $database->query("SELECT publ_start, publ_end FROM ".TABLE_PREFIX."sections WHERE page_id = '{$page['page_id']}' AND module != 'menu_link'"); |
233 | 233 |
|
234 |
if($query_sections->numRows() > 0)
|
|
234 |
if (isset($query_sections) && $query_sections->numRows() > 0)
|
|
235 | 235 |
{ |
236 | 236 |
$mdate_display=false; |
237 | 237 |
while($mdate_res = $query_sections->fetchRow()) |
Also available in: Unified diff