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

Fixes #946 Avoid PHP errors about undefined keys in plNotify

parent 11d074e0
......@@ -79,7 +79,8 @@ class simpleTabs
continue;
}
$this->by_name[$tab['CLASS']] = $tab['NAME'];
$this->by_name[$tab['CLASS']] = $tab['NAME'];
$this->plNotify[$tab['CLASS']] = FALSE;
if ($baseobject === NULL) {
$baseobject = new $tab['CLASS']($this->dn, $attrs_object, $this, TRUE);
......@@ -466,7 +467,8 @@ class simpleTabs
continue;
}
$this->by_name[$tab['CLASS']] = $tab['NAME'];
$this->by_name[$tab['CLASS']] = $tab['NAME'];
$this->plNotify[$tab['CLASS']] = FALSE;
$this->by_object[$tab['CLASS']] = new $tab['CLASS']($this->dn, $baseobject, $this, FALSE);
$this->by_object[$tab['CLASS']]->set_acl_category($this->acl_category);
}
......
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