summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f0fcf9d)
raw | patch | inline | side by side (parent: f0fcf9d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 18 Sep 2006 07:57:47 +0000 (07:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 18 Sep 2006 07:57:47 +0000 (07:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4707 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_printGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc
index 2b9fa073e76e425780c6762db8e5f4043d9f5a83..1e107aa93a05a028649752b12e7ab86c8f38a0a9 100644 (file)
$this->netConfigDNS->save_object();
/* Save base, since this is no LDAP attribute */
- if(isset($_POST['base'])){
+ if((isset($_POST['base'])) && ($this->acl_is_moveable()) ) {
$this->set_acl_base('dummy,'.$_POST['base']);
if($this->acl_is_moveable()){
}
/* If no ppd is selected, remove this attribute */
- if(count($this->gotoPrinterPPD)) {
+ if(!empty($this->gotoPrinterPPD)) {
$this->attrs['gotoPrinterPPD'] = $method.str_replace("//","/",$_SERVER['SERVER_NAME']."/ppd/".$this->gotoPrinterPPD);
}else{
$this->attrs['gotoPrinterPPD'] = array();
"objectClass" => "gotoPrinter")),
"plProvidedAcls"=> array(
"cn" => _("Name"),
-
+ "base" => _("Base") ,
"description" => _("Description"),
"l" => _("Location"),
"labeledURI" => _("LabeledURL"),