옵션 구분자 변경안된 부분 수정

This commit is contained in:
chicpro
2013-01-31 14:33:10 +09:00
parent 50bcabee55
commit 875b64203d

View File

@ -625,7 +625,7 @@ function get_supplement_subject($it_id)
// 추가옵션명
$subject = array();
for($i = 0; $row = sql_fetch_array($result); $i++) {
$str = explode('|*|', $row['sp_id']);
$str = explode(chr(30), $row['sp_id']);
if(!in_array($str[0], $subject)) {
array_push($subject, $str[0]);
@ -652,7 +652,7 @@ function get_supplement_option($it_id, $sp_id, $index)
$str = '<select name="item-supplement-'.$index.'">'."\n";
$str .= '<option value="">선택</option>'."\n";
for($i = 0; $row = sql_fetch_array($result); $i++) {
$opt = str_replace($sp_id.'|*|', '', $row['sp_id']);
$opt = str_replace($sp_id.chr(30), '', $row['sp_id']);
if($opt) {
if($row['sp_amount']) {
$info = ' (+'.number_format($row['sp_amount']).'원)';