1
0
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:
Ryan Cramer
2019-01-25 11:32:47 -05:00
parent 411cce0418
commit 02f9220529
4 changed files with 5 additions and 3 deletions

View File

@@ -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)) {