diff options
Diffstat (limited to '')
-rw-r--r-- | lib/helper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/helper.php b/lib/helper.php index d21b4c6..4beef4d 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -236,9 +236,9 @@ function startswith($needle, $haystack) function relive_talks() { - $talks = file_get_contents(get('OVERVIEW.RELIVE_JSON')); + $talks = @file_get_contents(get('OVERVIEW.RELIVE_JSON')); $talks = utf8_decode($talks); - $talks = json_decode($talks, true); + $talks = (array)json_decode($talks, true); usort($talks, function($a, $b) { $sort = array('live', 'recorded', 'released'); |