Commit 5aec557f authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3762 Fixing PHP error when copy pasting

Showing with 1 addition and 1 deletion
+1 -1
......@@ -149,7 +149,7 @@ class tabs
} else {
$baseobject->base = dn2base(get_userinfo()->dn);
}
if (isset($baseobject->baseSelector) && is_object($baseobject->baseSelector)) { // For some plugins not yet migrated to simple plugin.
if (!($baseobject instanceOf simplePlugin) && 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