Code

Fixed a typo and removed debug echo
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Nov 2006 08:27:20 +0000 (08:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Nov 2006 08:27:20 +0000 (08:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5262 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/mimetypes/class_mimetypeGeneric.inc
plugins/admin/mimetypes/class_mimetypeManagement.inc

index ed176f64ede603ef908e1dadc470c2dcfc53f969..790fa4524c9564e24f45fc534c38fdc3da53b4bf 100644 (file)
@@ -162,7 +162,6 @@ class mimetype extends plugin
       if(preg_match("/^chooseBase/",$name) && $once){
         $once = false;
         $this->dialog = new baseSelectDialog($this->config,$this,$this->get_allowed_bases());
-        echo $this->base;
         $this->dialog->setCurrentBase($this->base);
       }
     }
index 7b262eccdfbbdb1c83367f52cfd43f6b16d5cbdb..e4e7782efb8be47d0bc510984a14089499890e40 100755 (executable)
@@ -450,7 +450,7 @@ class mimetypeManagement extends plugin
       $dn = $this->mimetypes[$s_entry]['dn'];
 
       /* Check acls */
-      $acl_all= $this->ui->has_complete_category_acls($dn,"mimitypes");
+      $acl_all= $this->ui->has_complete_category_acls($dn,"mimetypes");
       if(preg_match("/(c.*w|w.*c)/",$acl_all)){
         $obj    = new mimetabs($this->config, $this->config->data['TABS']['MIMETABS'], $dn,"mimetypes");
         $obj->set_acl_base($this->dn);