Skip to content

Commit

Permalink
CreateSnapshotAdminExtension bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rolland Csatari committed Aug 1, 2023
1 parent e690dbf commit e82e80a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Admin/Extension/CreateSnapshotAdminExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ public function postPersist(AdminInterface $admin, object $object): void

public function postRemove(AdminInterface $admin, object $object): void
{
if ($object instanceof PageInterface) {
return;
}

$this->createByPage($object);
}

Expand Down

0 comments on commit e82e80a

Please sign in to comment.