From 4865b4dc0c67dad424f9b534c5bcd889eccbdb41 Mon Sep 17 00:00:00 2001 From: Benny Born Date: Mon, 27 May 2019 08:49:28 +0200 Subject: [PATCH] fixed #3 --- dca/tl_page.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dca/tl_page.php b/dca/tl_page.php index c65df99..36eb255 100644 --- a/dca/tl_page.php +++ b/dca/tl_page.php @@ -47,7 +47,7 @@ /** * Overwrite label callback */ -$GLOBALS['TL_DCA']['tl_page']['list']['label']['label_callback'] = array('tl_page_mobile_only', 'addIcon'); +$GLOBALS['TL_DCA']['tl_page']['list']['label']['label_callback'] = array('tl_page_mobile_only', 'addMobileIcon'); /** @@ -91,7 +91,7 @@ class tl_page_mobile_only extends tl_page { * * @return string */ - public function addIcon($row, $label, DataContainer $dc=null, $imageAttribute='', $blnReturnImage=false, $blnProtected=false) { + public function addMobileIcon($row, $label, DataContainer $dc=null, $imageAttribute='', $blnReturnImage=false, $blnProtected=false) { $defaultIcon = NULL; $defaultIcon = parent::addIcon($row, $label, $dc, $imageAttribute, $blnReturnImage, $blnProtected);