From ba222e876280a09adc476b477530da74b99d3b92 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 23 Jul 2010 10:28:50 +0000 Subject: [PATCH] Updated post handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19085 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/functions.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); } -- 2.30.2