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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user