defaults for the function
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index df28d88..37337d9 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -320,17 +320,17 @@
if ( ! isset($name['options']))
{
- $name['options'] = FALSE;
+ $name['options'] = array();
}
if ( ! isset($name['selected']))
{
- $name['selected'] = FALSE;
+ $name['selected'] = array();
}
if ( ! isset($name['extra']))
{
- $name['extra'] = FALSE;
+ $name['extra'] = '';
}
return form_dropdown($name['name'], $name['options'], $name['selected'], $name['extra']);