fix: itemTrials 삭제 후 통째로 array가 비면 array도 마저 삭제
This commit is contained in:
@@ -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