From: hickert Date: Tue, 5 Jan 2010 10:24:39 +0000 (+0000) Subject: Enabled session storage for opsi license filter X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=afca898369ba340b7347b90ed3c6ea02ad669ae3;p=gosa.git Enabled session storage for opsi license filter git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15050 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenses.inc b/gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenses.inc index bf0a9fda9..c40aa99a9 100644 --- a/gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenses.inc +++ b/gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenses.inc @@ -41,12 +41,12 @@ class opsiLicenses extends management $this->storagePoints = array(); // Build filter -# if (session::global_is_set(get_class($this)."_filter")){ -# $filter= session::global_get(get_class($this)."_filter"); -# } else { + if (session::global_is_set(get_class($this)."_filter")){ + $filter= session::global_get(get_class($this)."_filter"); + } else { $filter = new filter(get_template_path("opsiLicense-filter.xml", true)); $filter->setObjectStorage($this->storagePoints); -# } + } $this->setFilter($filter); // Build headpage