summaryrefslogtreecommitdiff
path: root/bin/vdr.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-03-18 10:50:54 +0100
committerTheTroll <trolldev@gmail.com>2010-03-18 10:50:54 +0100
commit04e056ddf36e3a64f815de36f0bc76657be483a9 (patch)
tree9719842d034264ec6052a99627cf4a78f2651378 /bin/vdr.php
parent24a99cb46753040380ddb4b4a0c5c01ad4bd0b44 (diff)
downloadistreamdev-04e056ddf36e3a64f815de36f0bc76657be483a9.tar.gz
istreamdev-04e056ddf36e3a64f815de36f0bc76657be483a9.tar.bz2
Fixed timer delete message
Diffstat (limited to 'bin/vdr.php')
-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";