form_dropdown() will now also take an array for unity with other form helpers., false => FALSE and the options check fixed
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index ab3a129..8ccab99 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -319,15 +319,15 @@
{
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']);
}