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

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

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];