summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: db15d7e)
raw | patch | inline | side by side (parent: db15d7e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Jan 2010 14:47:45 +0000 (14:47 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Jan 2010 14:47:45 +0000 (14:47 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15141 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_systemManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index d4f6c2c59e8726f837d29f4ff4b6aefd7ed79995..da3ad1e127755719999fa55d3349b9b3111922a6 100644 (file)
$ldap->cd($this->config->current['BASE']);
// Walk through systems to activate
- foreach($this->activationQueue as $dn => $data){
+ while(count($this->activationQueue)){
+
+ // Get next entry
+ reset($this->activationQueue);
+ $dn = key($this->activationQueue);
+ $data= $this->activationQueue[$dn];
if(!isset($data['SS'])) continue;
// Open object an preset some values like the objects base
del_lock($dn);
management::editEntry('editEntry',array($dn),array(),$tabClass,$tabDesc, $aclCategory);
+ $this->displayApplyBtn = FALSE;
$this->tabObject->set_acl_base($headpage->getBase());
if($data['OG'] != "none"){
$this->tabObject->base = preg_replace("/^[^,]+,".preg_quote(get_ou('ogroupRDN'), '/')."/i", "", $data['OG']);
$this->activate_new_device($this->last_dn);
unset($this->activationQueue[$this->last_dn]);
}
+
+ // Avoid using values from an older input dialog
+ $_POST = array();
$this->handleActivationQueue();
}