Fix issue on production

This commit is contained in:
Pierre 2018-04-26 08:39:25 +02:00
parent a351e9ff13
commit 0a79db3c70

View File

@ -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 {