Kerkdienst terugluisteren

This commit is contained in:
2017-09-01 22:29:32 +02:00
parent 83f72ae901
commit 81bf7d2b07
4 changed files with 107 additions and 20 deletions

View File

@@ -27,7 +27,7 @@ class Podcast extends Model {
$this->auth = $this->key;
}
if($data->program) {
if(isset($data->program) && $data->program) {
if(is_object($data->program)) {
$this->program = new \Model\Program($data->program);
} else {