Fix for selected being NULL from set_value
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index 54e2401..31c274c 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -314,7 +314,7 @@
$name = ! is_array($data) ? $data : '';
$defaults = array('name' => ( $name));
- if ( is_array($data) && isset($data['selected']))
+ if ( is_array($data) AND isset($data['selected']) AND $data['selected'] !== NULL)
{
$selected = $data['selected'];
unset($data['selected']); // selects don't have a selected attribute