옵션항목에 0도 표시되도록 수정

This commit is contained in:
chicpro committed 2014-02-10 11:58:04 +09:00
1 parent 264d2b26df
commit 9e36a64d33
4 files changed
+13 -11

No files matched your search

+1 -4
View File
@@ -21,10 +21,7 @@ for($i=0; $row=sql_fetch_array($result); $i++) {
$val = explode(chr(30), $row['io_id']);
$key = $idx + 1;
if(!$val[$key])
continue;
if(in_array($val[$key], $opt))
if(!strlen($val[$key]))
continue;
$opt[] = $val[$key];