mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-27 15:59:29 +00:00
Fix issue on production
This commit is contained in:
parent
a351e9ff13
commit
0a79db3c70
@ -176,7 +176,7 @@ class Post extends BaseUniqueObjectFromUser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function has_movie_id() : bool {
|
public function has_movie_id() : bool {
|
||||||
return $this->movie_id > -1;
|
return $this->movie_id > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_movie_id() : int {
|
public function get_movie_id() : int {
|
||||||
|
Loading…
Reference in New Issue
Block a user