Skip to content

Commit

Permalink
Fixed compatibility with PHP 7
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Dec 23, 2015
1 parent 72efad7 commit 8e3901c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MadeYourDay/Contao/Slider.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function toggleVisibility($intId, $blnVisible)
if (is_array($GLOBALS['TL_DCA']['tl_rocksolid_slide']['fields']['published']['save_callback'])) {
foreach ($GLOBALS['TL_DCA']['tl_rocksolid_slide']['fields']['published']['save_callback'] as $callback) {
$this->import($callback[0]);
$blnVisible = $this->$callback[0]->$callback[1]($blnVisible, $this);
$blnVisible = $this->{$callback[0]}->{$callback[1]}($blnVisible, $this);
}
}

Expand Down

0 comments on commit 8e3901c

Please sign in to comment.