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:
@@ -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":
|
||||
|
Reference in New Issue
Block a user