test if isset(['name']) is actually set instead of assuming it to be
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index 82a4b9f..df28d88 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -315,7 +315,7 @@
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) && isset($name['name']))
{
if ( ! isset($name['options']))