From: hickert Date: Fri, 9 Jul 2010 10:21:12 +0000 (+0000) Subject: Updated set_post method X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e9600642e09d579d2cf944966ad73d15948333dc;p=gosa.git Updated set_post method git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18976 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index eaa1be78c..e01cfb232 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -2934,6 +2934,12 @@ function get_binary_post($name) function set_post($value) { + if(is_array($value)){ + foreach($value as $key => $val){ + $value[$key] = set_post($val); + } + return($value); + } return(htmlentities($value, ENT_QUOTES, 'utf-8')); }