Code

Updated systemManagement
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Nov 2010 14:28:36 +0000 (14:28 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Nov 2010 14:28:36 +0000 (14:28 +0000)
_Fixed removal of hardware-phones

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20204 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_systemManagement.inc

index 9835de109d924ceba6873dd2b56eff95b6459e2d..fee234b9f8250ef182046de5fca4966af490fc96 100644 (file)
@@ -633,7 +633,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{