We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04e09af commit 7ea4315Copy full SHA for 7ea4315
1 file changed
interface/web/help/lib/module.conf.php
@@ -56,11 +56,12 @@
56
$sql = "SELECT * FROM help_faq_sections";
57
$res = $app->db->queryAllRecords($sql);
58
//* all the content sections
59
-foreach($res as $v)
60
-{
+if(is_array($res)) {
+ foreach($res as $v) {
61
$itemsfaq[] = array( 'title' => $v['hfs_name'],
62
'target' => 'content',
63
'link' => 'help/faq_list.php?hfs_id='.$v['hfs_id']);
64
+ }
65
}
66
67
$module['nav'][] = array( 'title' => 'FAQ',
0 commit comments