summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authornihaopaul <nihaopaul@gmail.com>2012-03-12 10:18:57 +0100
committernihaopaul <nihaopaul@gmail.com>2012-03-12 10:18:57 +0100
commit08631577a008b0d7544c6092652f6140885298a5 (patch)
tree754b63a98964d6767d8442ea83f865e7c87778fe /system
parentb6a84432400736bb7f7b835739b1ffff252f92cd (diff)
defaults for the function
Diffstat (limited to 'system')
-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 df28d88eb..37337d975 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -320,17 +320,17 @@ if ( ! function_exists('form_dropdown'))
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']);