mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-09-13 04:52:38 +00:00
Update TrashCan.php
bookshelf
This commit is contained in:
parent
8e87f01aa0
commit
88f6d3f241
@ -298,7 +298,7 @@ class TrashCan
|
|||||||
if ($entity->isA('book')) {
|
if ($entity->isA('book')) {
|
||||||
return $this->destroyBook($entity);
|
return $this->destroyBook($entity);
|
||||||
}
|
}
|
||||||
if ($entity->isA('shelf')) {
|
if ($entity->isA('bookshelf')) {
|
||||||
return $this->destroyShelf($entity);
|
return $this->destroyShelf($entity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user