From 4a0e608d1ca4032721a4ed91a3e1152af94d145d Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 16 Sep 2021 22:00:35 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20itemTrials=20=EC=82=AD=EC=A0=9C=20?= =?UTF-8?q?=ED=9B=84=20=ED=86=B5=EC=A7=B8=EB=A1=9C=20array=EA=B0=80=20?= =?UTF-8?q?=EB=B9=84=EB=A9=B4=20array=EB=8F=84=20=EB=A7=88=EC=A0=80=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hwe/func.php b/hwe/func.php index 40f59d3f..3553b651 100644 --- a/hwe/func.php +++ b/hwe/func.php @@ -1627,6 +1627,9 @@ function rollbackInheritUniqueTrial(General $general, string $itemKey, string $r $itemTrials = $general->getAuxVar('inheritUniqueTrial'); LogText("선택유니크 롤백:{$ownerID}", [$itemKey, $itemTrials]); unset($itemTrials[$itemKey]); + if(count($itemTrials) == 0){ + $itemTrials = null; + } $general->setAuxVar('inheritUniqueTrial', $itemTrials);