From 0a79db3c709c318d00643fed831497d8e046a49a Mon Sep 17 00:00:00 2001 From: Pierre Date: Thu, 26 Apr 2018 08:39:25 +0200 Subject: [PATCH] Fix issue on production --- classes/models/Post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/models/Post.php b/classes/models/Post.php index b8e7a2a..822971a 100644 --- a/classes/models/Post.php +++ b/classes/models/Post.php @@ -176,7 +176,7 @@ class Post extends BaseUniqueObjectFromUser { } public function has_movie_id() : bool { - return $this->movie_id > -1; + return $this->movie_id > 0; } public function get_movie_id() : int {