1/2 reverting a previous change to the form_helper. Wrapping hidden form elements in <div style="display:none"></div> instead of an empty div. If a user is styling form div {} they can run into display issues, so something is needed.
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index bca0ff0..a5cd97b 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -72,7 +72,7 @@
if (is_array($hidden) AND count($hidden) > 0)
{
- $form .= sprintf("\n<div>%s</div>", form_hidden($hidden));
+ $form .= sprintf("<div style=\"display:none\">%s</div>", form_hidden($hidden));
}
return $form;