diff --git a/bl-kernel/admin/themes/default/init.php b/bl-kernel/admin/themes/default/init.php index e2a6c873..50e9d559 100644 --- a/bl-kernel/admin/themes/default/init.php +++ b/bl-kernel/admin/themes/default/init.php @@ -43,9 +43,10 @@ class HTML { public static function formOpen($args) { $class = empty($args['class']) ? '' : ' '.$args['class']; - $id = empty($args['id']) ? '' : 'id="'.$args['id'].'"'; + $id = empty($args['id']) ? '' : ' id="'.$args['id'].'" '; + $enctype = empty($args['enctype']) ? '' : ' enctype="'.$args['enctype'].'" '; - $html = '
'; + $html = ''; echo $html; }