1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-24 00:12:24 +02:00

Fixes #3132 after adding the menu to the menu area, the wrong

query was executed because no layout was defined. Setting "default"
as default layout if nothing is defined.
This commit is contained in:
Achim Ennenbach
2018-06-24 20:11:59 +02:00
parent 1edd4a008f
commit d1a90cb0e8

View File

@@ -56,6 +56,7 @@ if(!class_exists('forum_newforumposts_menu'))
$qry = '';
$this->menuPref['layout'] = vartrue($this->menuPref['layout'], 'default');
switch($this->menuPref['layout'])
{
case "minimal":