mirror of
https://github.com/processwire/processwire.git
synced 2025-08-11 01:04:16 +02:00
Some minor 1-line tweaks to various files
This commit is contained in:
@@ -42,7 +42,7 @@ class PagesTrash extends Wire {
|
||||
public function trash(Page $page, $save = true) {
|
||||
|
||||
if(!$this->pages->isDeleteable($page) || $page->template->noTrash) {
|
||||
throw new WireException("This page may not be placed in the trash");
|
||||
throw new WireException("This page (id=$page->id) may not be placed in the trash");
|
||||
}
|
||||
|
||||
if(!$trash = $this->pages->get($this->config->trashPageID)) {
|
||||
|
Reference in New Issue
Block a user