From 869040bb304e866d9ebafdea388f92a20d1692fd Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Mon, 26 Feb 2018 06:00:52 -0500 Subject: [PATCH] Attempt to fix issue processwire/processwire-issues#503 incorrect label index warning/notice in ProcessRecentPages --- .../Process/ProcessRecentPages/ProcessRecentPages.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/modules/Process/ProcessRecentPages/ProcessRecentPages.module b/wire/modules/Process/ProcessRecentPages/ProcessRecentPages.module index b8ded9be..28e0e850 100644 --- a/wire/modules/Process/ProcessRecentPages/ProcessRecentPages.module +++ b/wire/modules/Process/ProcessRecentPages/ProcessRecentPages.module @@ -397,7 +397,7 @@ class ProcessRecentPages extends Process { */ public function ___executeAnother() { $items = $this->getAddAnotherNavItems(); - if(!count($items)) return "

" . $this->labels['no-created'] . "

"; + if(!count($items)) return "

" . $this->labels['nothing'] . "

"; $this->headline($this->_('Add another')); $table = $this->wire('modules')->get('MarkupAdminDataTable'); $table->headerRow(array(