mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-26 22:24:05 +08:00
Merge branch 'master' of git://github.com/i4j5/BookStack into i4j5-master
This commit is contained in:
commit
d759f9c121
@ -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…
x
Reference in New Issue
Block a user