From: hickert Date: Thu, 7 Jan 2010 09:19:06 +0000 (+0000) Subject: Enabled filter X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=342b1892ea4d8b7e4b73041d6c60f7fc2a102a6f;p=gosa.git Enabled filter git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15097 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc b/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc index 4446674e4..c7e4e1a19 100644 --- a/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc +++ b/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc @@ -51,13 +51,13 @@ class mimetypeManagement extends management $this->storagePoints= array(get_ou("mimetypeRDN")); } -# // Build filter -# if (session::global_is_set(get_class($this)."_filter")){ -# $filter= session::global_get(get_class($this)."_filter"); -# } else { + // Build filter + if (session::global_is_set(get_class($this)."_filter")){ + $filter= session::global_get(get_class($this)."_filter"); + } else { $filter = new filter(get_template_path($filter_xml, true)); $filter->setObjectStorage($this->storagePoints); -# } + } $this->setFilter($filter); // Build headpage