diff options
Diffstat (limited to 'play/index.php')
-rw-r--r-- | play/index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/play/index.php b/play/index.php index 4500a7ad..1b4c4abf 100644 --- a/play/index.php +++ b/play/index.php @@ -230,10 +230,10 @@ if ($catalog->catalog_type == 'remote') { } /* If we don't have a file, or the file is not readable */ -if (!$media->file OR !is_readable($media->file)) { +if (!$media->file || !Core::is_readable($media->file)) { - // We need to make sure this isn't democratic play, if it is then remove the song - // from the vote list + // We need to make sure this isn't democratic play, if it is then remove + // the song from the vote list if (is_object($tmp_playlist)) { $tmp_playlist->delete_track($oid); } |