Code

Updated mysql connection and query handling, ensure that strings are save.wq
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jul 2010 14:23:18 +0000 (14:23 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jul 2010 14:23:18 +0000 (14:23 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19285 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofon/gofon/macro/class_gofonMacroParameters.inc

index b825d97efd0b4edb2d3aeb6cf39b35870d50fa5c..545267a4a40ed7713a01f539105930d41671e9de 100644 (file)
@@ -335,13 +335,13 @@ class macroParameter extends plugin
         $message= plugin::check();
 
         foreach($this->goFonMacroParameter as $key=>$val){
-    
+
             $v1 = utf8_encode($val['default']);
             $v2 = utf8_decode($val['default']);
             if($v1 != $v2){
                 $allowed = preg_quote('[]()-+_,.;:/?*\ ','/');
                 $message[] = msgPool::invalid(sprintf(_("Parameter %s contains invalid character!"), $val['name']),
-                    $val['default'],"/[a-z0-9{$allowed}]/i");
+                        $val['default'],"/[a-z0-9{$allowed}]/i");
             }
             switch($val['type']){
                 case 'bool'   :   $possible = array("","0","1");