From 388986d19c781349668ed2c56c609350aa231ee9 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 20 Aug 2009 14:06:39 +0000 Subject: [PATCH] Hide not resolved attributes/filters git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14096 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_listing.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 96b27f9ad..796793c8b 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -511,6 +511,10 @@ class listing { // Watch out for filters and prepare to execute them $data= $this->processElementFilter($data, $config, $row); + // Replace all non replaced %{...} instances because they + // are non resolved attributes or filters + $data= preg_replace('/%{[^}]+}/', ' ', $data); + return $data; } -- 2.30.2