diff --git a/src/Controllers/IndexController.php b/src/Controllers/IndexController.php index ad59423a..7ec46499 100644 --- a/src/Controllers/IndexController.php +++ b/src/Controllers/IndexController.php @@ -42,7 +42,7 @@ class IndexController //check if too old if (!$featuredPostId or $featuredPostDate + $featuredPostRotationTime < time()) - return $this->featureNewPost(); + return PropertyModel::featureNewPost(); //check if post was deleted $featuredPost = PostModel::findById($featuredPostId, false);