mirror of
https://github.com/e107inc/e107.git
synced 2025-03-13 08:59:44 +01:00
Fix for pull request #5340
This commit is contained in:
parent
a5f790dab1
commit
73c5760cbb
@ -33,7 +33,14 @@ if(!class_exists('forum_newforumposts_menu'))
|
||||
$menuPrefs = e107::getMenu()->pref();// ie. popup config details from within menu-manager.
|
||||
$this->forumObj = new e107forum;
|
||||
|
||||
parse_str($menuPrefs, $this->menuPref);
|
||||
if(is_string($menuPrefs))
|
||||
{
|
||||
parse_str($menuPrefs, $this->menuPref);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->menuPref = $menuPrefs;
|
||||
}
|
||||
|
||||
// echo "<hr><hr><hr>";
|
||||
// var_dump($this->menuPref);
|
||||
|
Loading…
x
Reference in New Issue
Block a user