Skip to content

Commit

Permalink
ユニットロード時にユニットIDを新規IDに更新していた問題を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
atsu666 committed Nov 21, 2024
1 parent c401041 commit e2206f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Models/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@ public function load($item)
if ($type === 'custom') {
$unit->setField6(acmsUnserialize($unit->getField6()));
}
$newId = $unit->generateNewIdTrait();
$unit->setId($newId);
$unit->setTempId(uniqueString());
}
}
}
Expand Down

0 comments on commit e2206f1

Please sign in to comment.