From 3575feaf922d32ccd17829476c23b945c6f48c6f Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Mon, 2 Mar 2015 16:39:53 +0100 Subject: Remove Relive-Testfile --- lib/helper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/helper.php') 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'); -- cgit v1.2.3