From 7d89c81f771f0ef3f8daf5a0de9554c91838b9a2 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 28 Mar 2011 09:50:01 +0000 Subject: [PATCH] Fixed problem with removal of phones git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20631 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/systems/admin/systems/class_systemManagement.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{ -- 2.30.2