From 4362d6add9d2f9bbf4ee1f802ee9b3086f78fbbb Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Mon, 19 Mar 2018 20:02:41 +0100 Subject: [PATCH] Enctype for theme html helper --- bl-kernel/admin/themes/default/init.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; }