From: psc Date: Tue, 27 Apr 2010 09:17:04 +0000 (+0000) Subject: Apply fix for #4170 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2a00b0a4d8c5f732e30a6ff7330d605323019f4d;p=gosa.git Apply fix for #4170 Fix syntax error in htmlentities() call that caused a PHP error in some cases. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@17873 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/trunk/gosa-plugins/fai/admin/fai/class_debconfTemplate.inc b/trunk/gosa-plugins/fai/admin/fai/class_debconfTemplate.inc index eb0696efb..11985e528 100644 --- a/trunk/gosa-plugins/fai/admin/fai/class_debconfTemplate.inc +++ b/trunk/gosa-plugins/fai/admin/fai/class_debconfTemplate.inc @@ -280,7 +280,7 @@ class debconf if(in_array($value,$defs)){ $input .= sprintf($template, $post_name, $value, htmlentities($value), "checked", $post_name, _($value)); }else{ - $input .= sprintf($template, $post_name, $value, $htmlentities($value), "", $post_name, _($value)); + $input .= sprintf($template, $post_name, $value, htmlentities($value), "", $post_name, _($value)); } }