Update TrashCan.php

bookshelf
This commit is contained in:
Aleksandr Sazhin 2021-02-03 10:03:54 +03:00 committed by Dan Brown
parent 7843d8f054
commit cc5d0ef4cf
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -298,7 +298,7 @@ class TrashCan
if ($entity->isA('book')) {
return $this->destroyBook($entity);
}
if ($entity->isA('shelf')) {
if ($entity->isA('bookshelf')) {
return $this->destroyShelf($entity);
}
}