Skip to content

Commit

Permalink
Merge pull request #15 from appleple/custom-unit-serialize
Browse files Browse the repository at this point in the history
カスタムユニットがロード時にアンシリアライズされ、エラーが表示される問題
  • Loading branch information
atsu666 authored Nov 28, 2024
2 parents 73502ba + ef21a3c commit effa03d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Models/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,6 @@ public function load($item)

foreach ($this->units as & $unit) {
$type = detectUnitTypeSpecifier($unit->getType());
if ($type === 'custom') {
$unit->setField6(acmsUnserialize($unit->getField6()));
}
$unit->setTempId(uniqueString());
}
}
Expand Down

0 comments on commit effa03d

Please sign in to comment.