From 649c5c3b47eaf36cc6b1f9e0ffc9551ad2229f2b Mon Sep 17 00:00:00 2001 From: denchev Date: Thu, 22 Aug 2013 18:46:15 +0100 Subject: [PATCH] Fix for issue #308 --- admin/classes/class.options_machine.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/classes/class.options_machine.php b/admin/classes/class.options_machine.php index e257c61..0ecc4a6 100644 --- a/admin/classes/class.options_machine.php +++ b/admin/classes/class.options_machine.php @@ -202,8 +202,7 @@ public static function optionsframework_machine($options) { //radiobox option case "radio": - $checked = (isset($smof_data[$value['id']])) ? checked($smof_data[$value['id']], $option, false) : ''; - foreach($value['options'] as $option=>$name) { + foreach($value['options'] as $option=>$name) { $output .= '
'; } break;