summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdwin Smulders <edwin.smulders@northwave.nl>2016-09-27 11:02:39 +0200
committerEdwin Smulders <edwin.smulders@northwave.nl>2016-09-27 11:02:39 +0200
commit8d684c23364f2fd28700e0a5ae2e90dd7fab61fe (patch)
tree2a9b53654282cc4b9eb8878edbc57c204d87934f
parent4b94152a48d8053ab72669278abfec18e1793310 (diff)
Remove inline styles from hidden form input
This change fixes console errors when using a CSP header that disables inline styles.
-rw-r--r--system/helpers/form_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index 8825ecc2c..aa7379f77 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -100,7 +100,7 @@ if ( ! function_exists('form_open'))
{
foreach ($hidden as $name => $value)
{
- $form .= '<input type="hidden" name="'.$name.'" value="'.html_escape($value).'" style="display:none;" />'."\n";
+ $form .= '<input type="hidden" name="'.$name.'" value="'.html_escape($value).'" />'."\n";
}
}