diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-18 10:50:54 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-18 10:50:54 +0100 |
commit | 04e056ddf36e3a64f815de36f0bc76657be483a9 (patch) | |
tree | 9719842d034264ec6052a99627cf4a78f2651378 /bin/vdr.php | |
parent | 24a99cb46753040380ddb4b4a0c5c01ad4bd0b44 (diff) | |
download | istreamdev-04e056ddf36e3a64f815de36f0bc76657be483a9.tar.gz istreamdev-04e056ddf36e3a64f815de36f0bc76657be483a9.tar.bz2 |
Fixed timer delete message
Diffstat (limited to 'bin/vdr.php')
-rwxr-xr-x | bin/vdr.php | 2 |
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"; |