Commit 3e6c0212 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #946 Fixed PHP errors in ogroups because of simpleTabs plNotify handling

parent 019c70b9
......@@ -110,7 +110,8 @@ class ogrouptabs extends simpleTabs_noSpecial
{
@DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $class, 'Adding tab ');
$plInfos = pluglist::pluginInfos($class);
$this->by_name[$class] = $plInfos['plShortName'];
$this->by_name[$class] = $plInfos['plShortName'];
$this->plNotify[$class] = FALSE;
if (isset($this->removed_tabs[$class])) {
$this->by_object[$class] = $this->removed_tabs[$class];
unset($this->removed_tabs[$class]);
......@@ -125,6 +126,7 @@ class ogrouptabs extends simpleTabs_noSpecial
$this->removed_tabs["$class"] = $this->by_object["$class"];
unset($this->by_object["$class"]);
unset($this->by_name["$class"]);
unset($this->plNotify["$class"]);
}
function gen_tabs($disabled = FALSE)
......
Markdown is supported
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