summaryrefslogtreecommitdiffstats
path: root/system/helpers/form_helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/helpers/form_helper.php')
-rw-r--r--system/helpers/form_helper.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index ab3a12961..8ccab99a2 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -319,15 +319,15 @@ if ( ! function_exists('form_dropdown'))
{
if ( ! isset($name['options']))
{
- $name['selected'] = false;
+ $name['options'] = FALSE;
}
if ( ! isset($name['selected']))
{
- $name['selected'] = false;
+ $name['selected'] = FALSE;
}
if ( ! isset($name['extra']))
{
- $name['extra'] = false;
+ $name['extra'] = FALSE;
}
return form_dropdown($name['name'], $name['options'], $name['selected'], $name['extra']);
}