From: hickert Date: Fri, 23 Jul 2010 10:28:50 +0000 (+0000) Subject: Updated post handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ba222e876280a09adc476b477530da74b99d3b92;p=gosa.git Updated post handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19085 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 7915adc15..68b17919b 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -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); }