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

Showing with 3 additions and 1 deletion
+3 -1
......@@ -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)
......
  • bmortier @bmortier

    mentioned in issue #350 (closed)

    By Côme Chilliet on 2017-09-02T14:43:58 (imported from GitLab)

    ·

    mentioned in issue #350 (closed)

    By Côme Chilliet on 2017-09-02T14:43:58 (imported from GitLab)

    Toggle commit list
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