From c6331187742a4e04ffab0239c36e70a64bc83c50 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Mon, 3 Mar 2014 19:22:29 +0100 Subject: [PATCH] Fixed automatic post featuring --- src/Controllers/IndexController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);