Code

Apply fix for #4170
authorpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Apr 2010 09:17:04 +0000 (09:17 +0000)
committerpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Apr 2010 09:17:04 +0000 (09:17 +0000)
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

trunk/gosa-plugins/fai/admin/fai/class_debconfTemplate.inc

index eb0696efbf2633917110711069d8375beb98f621..11985e528aaeedfc146db0f3f4fa18033ca2c46d 100644 (file)
@@ -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));
             }
         }