Skip to content

Commit

Permalink
Fix for pull request #5340
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Jan 10, 2025
1 parent a5f790d commit 73c5760
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion e107_plugins/forum/newforumposts_menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@ function __construct()
$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);
Expand Down

0 comments on commit 73c5760

Please sign in to comment.