Code

Updated post handling
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Jul 2010 10:28:50 +0000 (10:28 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Jul 2010 10:28:50 +0000 (10:28 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19085 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/functions.inc

index 7915adc15eb262eee104e87a90246be508bdc5eb..68b17919b6de0788ce7730a3ea7443de4b8a5ca2 100644 (file)
@@ -2902,10 +2902,11 @@ function get_post($name)
   }
 
   if(get_magic_quotes_gpc()){
-    return(stripcslashes(validate($_POST[$name])));
+    $val = stripcslashes($_POST[$name]);
   }else{
-    return(validate($_POST[$name]));
+    $val = $_POST[$name];
   }
+  return($val);
 }