From: Aleksandr Sazhin Date: Wed, 3 Feb 2021 07:03:54 +0000 (+0300) Subject: Update TrashCan.php X-Git-Tag: v21.04~1^2~11^2~52^2 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/88f6d3f2410b069ec3943bdebb69755c4bda65d2 Update TrashCan.php bookshelf --- diff --git a/app/Entities/Tools/TrashCan.php b/app/Entities/Tools/TrashCan.php index d2447ec68..7be432f4c 100644 --- a/app/Entities/Tools/TrashCan.php +++ b/app/Entities/Tools/TrashCan.php @@ -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); } }