diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc
index 8f31136e57af7a2f3df259f720bd41cfb15c223d..b61573302a721d87d37dca48e8418335b18429c1 100644 (file)
foreach($_POST as $name => $value){
if(preg_match("/^chooseBase/",$name) && $once && $this->acl_is_writeable("base")){
$once = false;
- $this->dialog = new baseSelectDialog($this->config,$this,$this->acl_get_bases());
+ $this->dialog = new baseSelectDialog($this->config,$this,$this->get_allowed_bases());
$this->dialog->setCurrentBase($this->base);
}
}
$smarty->assign("cn", $this->cn);
$smarty->assign("l", $this->l);
- $smarty->assign("bases", $this->acl_get_bases());
+ $smarty->assign("bases", $this->get_allowed_bases());
$smarty->assign("staticAddress", "");
$tmp = array();