Skip to content

Commit

Permalink
Merge pull request #193 from muskie9/pull/php72
Browse files Browse the repository at this point in the history
COMPATABILITY php 7.2 compatibility
  • Loading branch information
muskie9 authored Jul 1, 2019
2 parents ccac22e + ce94419 commit 04d73ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/FlexSlider.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function SlideShow()
public function contentcontrollerInit()
{
// only call custom script if page has Slides and DataExtension
if (Object::has_extension($this->owner->ClassName, 'FlexSlider')) {
if ($this->owner->hasExtension( FlexSlider::class)) {
if ($this->owner->SlideShow()->exists()) {
$this->getCustomScript();
}
Expand Down

0 comments on commit 04d73ba

Please sign in to comment.