Commit 03c5c1da authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3659 Fixing PHP error in class tabs

parent b8f23bf3
......@@ -149,7 +149,7 @@ class tabs
} else {
$baseobject->base = dn2base(get_userinfo()->dn);
}
if (is_object($baseobject->baseSelector)) { // For some plugins not yet migrated to simple plugin.
if (isset($baseobject->baseSelector) && is_object($baseobject->baseSelector)) { // For some plugins not yet migrated to simple plugin.
$baseobject->baseSelector->setBase($baseobject->base);
}
@DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $baseobject->base, 'Fixed base');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment