Skip to content

Commit

Permalink
カスタムユニットがロード時にアンシリアライズされ、エラーが表示される問題
Browse files Browse the repository at this point in the history
  • Loading branch information
1000-x-t30 committed Nov 28, 2024
1 parent 476234a commit b832295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function load($item)
foreach ($this->units as & $unit) {
$type = detectUnitTypeSpecifier($unit->getType());
if ($type === 'custom') {
$unit->setField6(acmsUnserialize($unit->getField6()));
$unit->setField6($unit->getField6());
}
$unit->setTempId(uniqueString());
}
Expand Down

0 comments on commit b832295

Please sign in to comment.