From d9048113bc0325b543cd5563ba51d72461ab15e8 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 6 May 2016 11:30:44 +0200 Subject: fix afu debug output --- configs/conferences/afu/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/conferences/afu') diff --git a/configs/conferences/afu/config.php b/configs/conferences/afu/config.php index 02ac5a9..0eaaed1 100644 --- a/configs/conferences/afu/config.php +++ b/configs/conferences/afu/config.php @@ -5,7 +5,7 @@ $upcoming_events = $upcoming->getNextEvents(); $upcoming_afus = array_values(array_filter($upcoming_events, function($event) { return preg_match('/^events:afu[0-9]+$/i', $event['short_name']); })); -var_dump($upcoming_afus); + if(count($upcoming_afus) < 1) { $EPISODE = '???'; -- cgit v1.2.3