Code

Added +- to allowed chars
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 May 2006 06:02:51 +0000 (06:02 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 May 2006 06:02:51 +0000 (06:02 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3397 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofon/fonreports/class_fonreport.inc

index 53999c83cdecf41fec975fa3005e481f0531dec6..31efc71f39f963be33ea2cdde7cfe08bbc7b55d6 100644 (file)
@@ -86,8 +86,8 @@ class fonreport extends plugin
     }
 
     /* remove unwanted tags */
-    $this->search_for = stripslashes(preg_replace("/[^0-9a-z\*]/i","",$this->search_for));
-    
+    $this->search_for = stripslashes(preg_replace("/[^0-9a-z\*\+ \-]/i","",$this->search_for));
+  
     foreach($this->attributes_SO as $name){
       $fonfilter[$name] = $this->$name;
     }