Update TrashCan.php

bookshelf
This commit is contained in:
Aleksandr Sazhin 2021-02-03 10:03:54 +03:00 committed by GitHub
parent 8e87f01aa0
commit 88f6d3f241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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