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

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);
}
}