Skip to content

Commit

Permalink
fixed #3
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyborn committed May 27, 2019
1 parent c3560f0 commit 4865b4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dca/tl_page.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');


/**
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4865b4d

Please sign in to comment.