Code

Added +- to allowed chars
[gosa.git] / 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;
     }