summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authornihaopaul <nihaopaul@gmail.com>2012-03-12 09:54:17 +0100
committernihaopaul <nihaopaul@gmail.com>2012-03-12 09:54:17 +0100
commit10ecad5238fe1a408e9ecbe6ed3b37c4f3d33863 (patch)
treed9b68c7ea00339e17e83c20010245bacdaf9cd42 /system/helpers
parentca5cabc29483921dba05343cd30734980b696fd1 (diff)
form_dropdown() will now also take an array for unity with other form helpers., codestyle cleanup only
Diffstat (limited to 'system/helpers')
-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 efe5dbce1..ab3a12961 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -315,7 +315,7 @@ if ( ! function_exists('form_dropdown'))
function form_dropdown($name = '', $options = array(), $selected = array(), $extra = '')
{
// If name is really an array then we'll call the function again using the array
- if (is_array($name))
+ if (is_array($name))
{
if ( ! isset($name['options']))
{