diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/Relive.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/model/Relive.php b/model/Relive.php index 6b8b309..3da7c90 100644 --- a/model/Relive.php +++ b/model/Relive.php @@ -62,10 +62,16 @@ class Relive if($talk['status'] == 'not_running') continue; - if($talk['status'] == 'released') + if($talk['status'] == 'released') { $talk['url'] = $talk['release_url']; - else - $talk['url'] = 'relive/'.rawurlencode($talk['id']).'/'; + } + else { + $talk['url'] = joinpath([ + $this->getConference()->getSlug(), + 'relive', + rawurlencode($talk['id']), + ]); + } if(isset($mapping[$talk['room']])) { |