Tom Hayakawa
tom_g3x****@users*****
2006年 8月 25日 (金) 20:04:27 JST
Index: xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php diff -u xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php:1.1.2.3 xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php:1.1.2.4 --- xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php:1.1.2.3 Tue Aug 8 17:28:32 2006 +++ xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php Fri Aug 25 20:04:27 2006 @@ -32,10 +32,10 @@ $selected = ""; if (is_array($default) && in_array($object->get($params['value']), $default)) { - $selected = " selected='selected'"; + $selected = " selected=\"selected\""; } elseif (!is_array($default) && $object->get($params['value']) == $default) { - $selected = " selected='selected'"; + $selected = " selected=\"selected\""; } $tags .= "<option value=\"${value}\"${selected}>${label}</option>\n";