From 96f69e45c137353b91a4ee2b94d3676956033de1 Mon Sep 17 00:00:00 2001 From: TATECK Date: Tue, 30 Jan 2024 22:27:47 +0900 Subject: [PATCH] =?UTF-8?q?item=20inventory=20=EC=B6=94=EA=B0=80=20?= =?UTF-8?q?=ED=95=A8=EC=88=98=20php=20=EB=B2=84=EC=A0=84=20=EC=98=A4?= =?UTF-8?q?=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 item inventory 추가 함수 php 버전 오류 수정 --- AvocadoEdition/extend/item.lib.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/AvocadoEdition/extend/item.lib.php b/AvocadoEdition/extend/item.lib.php index 220a6a6..32cb95e 100644 --- a/AvocadoEdition/extend/item.lib.php +++ b/AvocadoEdition/extend/item.lib.php @@ -52,11 +52,11 @@ function insert_inventory($ch_id, $it_id, $item = null, $count = 1) { if($ch['ch_id']) { for($i=0; $i < $count; $i++) { - $inven_sql = " insert into {$g5[inventory_table]} - set ch_id = '{$ch[ch_id]}', - it_id = '{$item[it_id]}', - it_name = '{$item[it_name]}', - ch_name = '{$ch[ch_name]}'"; + $inven_sql = " insert into {$g5['inventory_table']} + set ch_id = '{$ch['ch_id']}', + it_id = '{$item['it_id']}', + it_name = '{$item['it_name']}', + ch_name = '{$ch['ch_name']}'"; sql_query($inven_sql); } }