mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Issue #2183 - Fix for lanVars on a non-object.
This commit is contained in:
parent
812c50e4f7
commit
caffecd9f5
@ -562,7 +562,7 @@ class e_menuManager {
|
||||
|
||||
if(!is_object($obj))
|
||||
{
|
||||
$text .= "<tr><td colspan='2' class='alert alert-danger'>".$tp->lanVars(MENLAN_46, $plug)."</td></tr>";
|
||||
$text .= "<tr><td colspan='2' class='alert alert-danger'>".e107::getParser()->lanVars(MENLAN_46, $plug)."</td></tr>";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user