fix: itemTrials 삭제 후 통째로 array가 비면 array도 마저 삭제
This commit is contained in:
1 parent
fbf0610ff7
commit
742b70a5f0
1 file changed
+3
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user