diff --git a/components/Banners.php b/components/Banners.php index 2efecb2..8c42507 100644 --- a/components/Banners.php +++ b/components/Banners.php @@ -1,5 +1,6 @@ banner)) return $this->banner; - $model = Banners::isEnabled() - ->where('banner_id', $this->property('banner_id'))->first(); + $model = BannerModel::isEnabled() + ->where('banner_id', $this->property('banner_id'))->first(); $banner = new \stdClass; $banner->id = 'banner-slideshow-'.uniqid();