From 8d1702da850864b79245cc2e7e328798be0a9608 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 16 Mar 2010 08:40:34 +0000 Subject: [PATCH] reenabled filter caching git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16600 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../faxNumberSelect/class_faxNumberSelect.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gosa-plugins/gofax/gofax/faxaccount/faxNumberSelect/class_faxNumberSelect.inc b/gosa-plugins/gofax/gofax/faxaccount/faxNumberSelect/class_faxNumberSelect.inc index 1b023ac28..8a380c420 100644 --- a/gosa-plugins/gofax/gofax/faxaccount/faxNumberSelect/class_faxNumberSelect.inc +++ b/gosa-plugins/gofax/gofax/faxaccount/faxNumberSelect/class_faxNumberSelect.inc @@ -31,14 +31,14 @@ class faxNumberSelect extends management $this->ui = $ui; $this->storagePoints = array(get_ou("userRDN")); - -# // 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("faxNumberSelect-filter.xml", true, dirname(__FILE__))); $filter->setObjectStorage($this->storagePoints); -# } + } $this->setFilter($filter); // Build headpage -- 2.30.2