From: hickert Date: Mon, 28 Mar 2011 09:50:01 +0000 (+0000) Subject: Fixed problem with removal of phones X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7d89c81f771f0ef3f8daf5a0de9554c91838b9a2;p=gosa.git Fixed problem with removal of phones git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20631 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index a56fbe7f9..5e1a304ad 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -661,7 +661,7 @@ class systemManagement extends management // Delete the object $this->dn = $dn; if($info['tabClass'] == "phonetabs"){ - $this->tabObject= new $tabtype($this->config, $this->config->data['TABS'][$tabobj], $dn,$type); + $this->tabObject= new $info['tabClass']($this->config, $this->config->data['TABS'][$info['tabDesc']], $dn,$type); $this->tabObject->set_acl_base($dn); $this->tabObject->by_object['phoneGeneric']->remove_from_parent (); }else{