mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Issue #2183 - Fix for lanVars on a non-object.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user