Skip to content
Snippets Groups Projects
Commit a6d8ffd2 authored by Thom's avatar Thom :tools:
Browse files

Fix syntax error

parent f318b9b4
No related branches found
No related tags found
1 merge request!1274Make help messages menu hideable
...@@ -65,8 +65,7 @@ if($_SESSION['s']['user']['typ'] == 'admin') { ...@@ -65,8 +65,7 @@ if($_SESSION['s']['user']['typ'] == 'admin') {
'open' => 1, 'open' => 1,
'items' => $itemsfaq); 'items' => $itemsfaq);
} }
else else { //* the user
{ //* the user
$sql = "SELECT * FROM help_faq_sections"; $sql = "SELECT * FROM help_faq_sections";
$res = $app->db->queryAllRecords($sql); $res = $app->db->queryAllRecords($sql);
//* all the content sections //* all the content sections
...@@ -80,7 +79,7 @@ else ...@@ -80,7 +79,7 @@ else
$module['nav'][] = array( 'title' => 'FAQ', $module['nav'][] = array( 'title' => 'FAQ',
'open' => 1, 'open' => 1,
'items' => $itemsfaq); 'items' => $itemsfaq);
} }
} }
//* -- end of the FAQ menu section //* -- end of the FAQ menu section
...@@ -101,9 +100,5 @@ if($_SESSION['s']['user']['typ'] == 'admin') { ...@@ -101,9 +100,5 @@ if($_SESSION['s']['user']['typ'] == 'admin') {
$module['nav'][] = array( 'title' => 'About ISPConfig', $module['nav'][] = array( 'title' => 'About ISPConfig',
'open' => 1, 'open' => 1,
'items' => $items); 'items' => $items);
} }
?> ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment