diff --git a/airtime_mvc/application/models/Playlist.php b/airtime_mvc/application/models/Playlist.php index 17ce021ff..6b97de97e 100644 --- a/airtime_mvc/application/models/Playlist.php +++ b/airtime_mvc/application/models/Playlist.php @@ -395,8 +395,10 @@ SQL; $entry["id"] = $obj->getDbId(); $entry["pos"] = $pos; $entry["cliplength"] = $obj->getDbLength(); - $entry["cuein"] = $obj->getDbCuein(); - $entry["cueout"] = $obj->getDbCueout(); + if ($obj instanceof CcFiles && $obj) { + $entry["cuein"] = $obj->getDbCuein(); + $entry["cueout"] = $obj->getDbCueout(); + } $entry["ftype"] = $objType; }