diff options
-rw-r--r-- | model/Conference.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/model/Conference.php b/model/Conference.php index 6c14746..8d387a0 100644 --- a/model/Conference.php +++ b/model/Conference.php @@ -140,10 +140,10 @@ class Conference extends ModelBase } public function hasRelive() { - return $this->has('CONFERENCE.RELIVE_JSON'); + return $this->getRelive()->isEnabled(); } public function getReliveUrl() { - if($this->has('CONFERENCE.RELIVE_JSON')) + if($this->getRelive()->isEnabled()) return joinpath([$this->getSlug(), 'relive']).url_params(); else |