From 04e056ddf36e3a64f815de36f0bc76657be483a9 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Thu, 18 Mar 2010 10:50:54 +0100 Subject: Fixed timer delete message --- bin/vdr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/vdr.php b/bin/vdr.php index 9197b1b..0b31fb3 100755 --- a/bin/vdr.php +++ b/bin/vdr.php @@ -373,7 +373,7 @@ function vdrdeltimer($timer) $message = vdrsendcommand("DELT " .$timer); - if ($message == 'Timer "' .$timer .'" deleted') + if (preg_match("/deleted/", $message)) { $ret['status'] = "Ok"; $ret['message'] = "Timer successfully deleted"; -- cgit v1.2.3