From 3c9cee51138b801c8f40c154ee8fc944d9707b69 Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 22 Apr 2013 11:11:43 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0=EA=B4=80=EB=A6=AC?= =?UTF-8?q?=EC=9E=90:=20#64=20=20=EC=B2=98=EB=A6=AC=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/shop.lib.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/shop.lib.php b/lib/shop.lib.php index 63d697d7c..38d2614f4 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -412,9 +412,10 @@ function print_item_options() where it_id = '$it_id' "; $it = sql_fetch($sql); - $it_name = $str_split = ""; + $it_name = $str_split = ''; for ($i=1; $i<=6; $i++) { + if ($i == 1) $str_split .= '상품옵션 '; $it_opt = trim(func_get_arg($i)); // 상품옵션에서 0은 제외되는 현상을 수정 if ($it_opt==null) continue; @@ -422,7 +423,7 @@ function print_item_options() $it_name .= $str_split; $it_opt_subject = $it["it_opt{$i}_subject"]; $opt = explode( ";", $it_opt ); - $it_name .= "  $it_opt_subject = $opt[0]"; + $it_name .= $it_opt_subject.' = '.$opt[0]; if ($opt[1] != 0) {