Merge branch 'master' of git://github.com/i4j5/BookStack into i4j5-master

This commit is contained in:
Dan Brown 2021-02-06 13:21:14 +00:00
commit d759f9c121
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);
}
}