diff options
author | Florian Larysch | 2015-04-05 15:25:45 +0200 |
---|---|---|
committer | Florian Larysch | 2015-04-05 15:25:45 +0200 |
commit | 7d6292c6a99b5ebdf797dd99cf059fc6c5687a08 (patch) | |
tree | 1cb621d825dfd8c3805836fbe097c44213d69124 | |
parent | ad8179841aa5826696d4344756af771baf26af70 (diff) |
relive: ignore talks in "not_running" state
-rw-r--r-- | model/Relive.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/model/Relive.php b/model/Relive.php index aa081a6..912e492 100644 --- a/model/Relive.php +++ b/model/Relive.php @@ -31,6 +31,9 @@ class Relive extends ModelBase $talks_by_id = array(); foreach ($talks as $talk) { + if($talk['status'] == 'not_running') + continue; + if($talk['status'] == 'released') $talk['url'] = $talk['release_url']; else |