1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-22 06:13:57 +02:00

Attempt to fix issue processwire/processwire-issues#503 incorrect label index warning/notice in ProcessRecentPages

This commit is contained in:
Ryan Cramer
2018-02-26 06:00:52 -05:00
parent bd90821d40
commit 869040bb30

View File

@@ -397,7 +397,7 @@ class ProcessRecentPages extends Process {
*/
public function ___executeAnother() {
$items = $this->getAddAnotherNavItems();
if(!count($items)) return "<h2>" . $this->labels['no-created'] . "</h2>";
if(!count($items)) return "<h2>" . $this->labels['nothing'] . "</h2>";
$this->headline($this->_('Add another'));
$table = $this->wire('modules')->get('MarkupAdminDataTable');
$table->headerRow(array(