From: cajus Date: Thu, 20 Aug 2009 14:06:39 +0000 (+0000) Subject: Hide not resolved attributes/filters X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=388986d19c781349668ed2c56c609350aa231ee9;p=gosa.git Hide not resolved attributes/filters git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14096 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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; }