Minahito
minah****@users*****
2006年 4月 6日 (木) 13:20:53 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.1 xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php:1.1.2.2 --- xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php:1.1.2.1 Thu Apr 6 12:38:37 2006 +++ xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php Thu Apr 6 13:20:53 2006 @@ -31,7 +31,7 @@ $label = htmlspecialchars($object->get($params['label']), ENT_QUOTES); $selected = ""; - if (is_array($default) && in_array($default, $object->get($params['value']))) { + if (is_array($default) && in_array($object->get($params['value']), $default)) { $selected = " selected"; } elseif (!is_array($default) && $object->get($params['value']) == $default) {