From 7d0badfcd9efe46ccb101519a8f9aaac60c96a6c Mon Sep 17 00:00:00 2001 From: TheTroll Date: Tue, 23 Feb 2010 15:02:48 +0100 Subject: Fixed no timer case --- includes/inc_vdr.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'includes/inc_vdr.php') diff --git a/includes/inc_vdr.php b/includes/inc_vdr.php index 3ba9edd..4158e2e 100755 --- a/includes/inc_vdr.php +++ b/includes/inc_vdr.php @@ -301,8 +301,11 @@ function vdrlisttimers() if (gettype($timers) == "string") { - if ($timers == "") + if (!is_numeric(substr($timers,0,1))) + { + print "
  • {$timers}

  • \r\n"; return; + } else $timersarray[] = $timers; } -- cgit v1.2.3