From 93a92d6f777f23175fa8b99777219d805abda37a Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 29 May 2013 11:13:45 +0900 Subject: [PATCH] =?UTF-8?q?#200=20=EC=A3=BC=EB=AC=B8=EC=8B=9C=20=ED=8C=90?= =?UTF-8?q?=EB=A7=A4=EC=9E=90=EC=97=90=EA=B2=8C=20=EB=B0=9C=EC=86=A1?= =?UTF-8?q?=EB=90=98=EB=8A=94=20=EB=A9=94=EC=9D=BC=EC=9D=98=20=EC=83=81?= =?UTF-8?q?=ED=92=88=EC=A0=95=EB=B3=B4=20=EB=B3=B4=EC=9D=B4=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8A=94=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/ordermail2.inc.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/shop/ordermail2.inc.php b/shop/ordermail2.inc.php index 01333f04a..7569e7fc3 100644 --- a/shop/ordermail2.inc.php +++ b/shop/ordermail2.inc.php @@ -34,6 +34,7 @@ mailer($config['cf_title'], $admin['mb_email'], $od_email, $subject, $content, 1 // 판매자에게 메일 보내기 (상품별로 보낸다.) //------------------------------------------------------------------------------ +unset($list); $sql = " select b.it_sell_email, a.it_id, a.it_name @@ -44,8 +45,6 @@ $sql = " select b.it_sell_email, $result = sql_query($sql); for ($i=0; $row=sql_fetch_array($result); $i++) { - unset($list); - // 옵션정보 $sql2 = " select ct_option, ct_qty from {$g4['shop_cart_table']} @@ -65,10 +64,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) if($k > 0) $options .= ''; - $list['it_id'] = $row['it_id']; - $list['it_simg'] = get_it_image($row['it_id'], $default['de_simg_width'], $default['de_simg_height']); - $list['it_name'] = $row['it_name']; - $list['it_opt'] = $options; + $list[$i]['it_id'] = $row['it_id']; + $list[$i]['it_simg'] = get_it_image($row['it_id'], $default['de_simg_width'], $default['de_simg_height']); + $list[$i]['it_name'] = $row['it_name']; + $list[$i]['it_opt'] = $options; $subject = $config['cf_title'].' - 주문 알림 메일 (주문자 '.$od_name.'님)'; ob_start();