aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMaZderMind2015-03-02 16:39:53 +0100
committerMaZderMind2015-03-02 16:39:53 +0100
commit3575feaf922d32ccd17829476c23b945c6f48c6f (patch)
tree17f3d7a4b57974def6118140586347c6d53ef247 /lib
parent40c699e1a307919f65a52632ddf816a735dde8a0 (diff)
Remove Relive-Testfile
Diffstat (limited to 'lib')
-rw-r--r--lib/helper.php4
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');