diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc
index 2641ae79e3ba78efd04eb48479f55c47fbb0e024..a8843d920550ae492647e4e60614122cd63d7649 100644 (file)
$this->dialog=NULL;
}
$this->dialog=NULL;
}
+
+
if((isset($_POST['DelUser']))&&(isset($_POST['UserMember']))){
if(isset($this->member['AddUser'][$_POST['UserMember']])){
unset($this->member['AddUser'][$_POST['UserMember']]);
if((isset($_POST['DelUser']))&&(isset($_POST['UserMember']))){
if(isset($this->member['AddUser'][$_POST['UserMember']])){
unset($this->member['AddUser'][$_POST['UserMember']]);
}
if((isset($_POST['DelAdmin']))&&(isset($_POST['AdminMember']))){
}
if((isset($_POST['DelAdmin']))&&(isset($_POST['AdminMember']))){
- if(isset($this->member['AddAdmingroup'][$_POST['AdminMember']])){
+ if(isset($this->member['AddAdminGroup'][$_POST['AdminMember']])){
unset($this->member['AddAdminGroup'][$_POST['AdminMember']]);
}
}
unset($this->member['AddAdminGroup'][$_POST['AdminMember']]);
}
}
if(!is_array($this->attrs['gotoPrinterPPD'])) {
$this->attrs['gotoPrinterPPD'] = $this->attrs['gotoPrinterPPD'];
if(!is_array($this->attrs['gotoPrinterPPD'])) {
$this->attrs['gotoPrinterPPD'] = $this->attrs['gotoPrinterPPD'];
- $this->attrs['gotoPrinterPPD'] = $method.$_SERVER['SERVER_NAME']."/ppd/".
- str_replace("//","/",$this->attrs['gotoPrinterPPD']);
+ $this->attrs['gotoPrinterPPD'] = $method.str_replace("//","/",$_SERVER['SERVER_NAME']."/ppd/".$this->attrs['gotoPrinterPPD']);
}
/* Append printer user
}
/* Append printer user