Another one following #2639
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index 7112a99..0cc5bd1 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -685,8 +685,12 @@
{
return ($default === TRUE) ? ' selected="selected"' : '';
}
+ elseif (is_array($input) && in_array($value, $input, TRUE))
+ {
+ return ' selected="selected"';
+ }
- return ($input === $value) ? ' checked="selected"' : '';
+ return ($input === $value) ? ' selected="selected"' : '';
}
}