summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/vdr.php2
1 files changed, 1 insertions, 1 deletions
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";