summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 90e5fd1)
raw | patch | inline | side by side (parent: 90e5fd1)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jun 2006 03:40:16 +0000 (03:40 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jun 2006 03:40:16 +0000 (03:40 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3968 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/mimetypes/class_mimetypeGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/mimetypes/class_mimetypeGeneric.inc b/plugins/admin/mimetypes/class_mimetypeGeneric.inc
index b475b2f419624681a9e02e54c7cec13f94223e31..e13d62a75df88a83b5da3dba3a9acc578ac02bef 100644 (file)
/* Check if release Management is enabled */
$tmp = search_config($this->config->data,"faiManagement","CLASS");
if(!empty($tmp)) {
- if(!preg_match("/^ou=apps,/",$_SESSION['mimefilter']['release'])){
- $this->isReleaseMimeType= true;
- }
+ $this->isReleaseMimeType= true;
}
/* Set base */
if(isset($_POST['MimeGeneric'])){
plugin::save_object();
+ if(!$this->isReleaseMimeType){
+ if(isset($_POST['base'])){
+ $this->base = $_POST['base'];
+ }
+ }
+
/* Save radio buttons */
if(chkacl($this->acl,"gotoMimeLeftClickAction")== ""){