summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-08-15 19:01:45 (GMT)
committerTheTroll <trolldev@gmail.com>2010-08-15 19:01:45 (GMT)
commit22585ff8fb58299573e068647a54b981c7254586 (patch)
tree862e3adfc82f565a50fa5cae5a4c251097c0cbe5
parent73d75c718b5017708065d0c39c73cded75062dac (diff)
downloadistreamdev-22585ff8fb58299573e068647a54b981c7254586.tar.gz
istreamdev-22585ff8fb58299573e068647a54b981c7254586.tar.bz2
Fix for new vdr \r\n
-rw-r--r--bin/svdrp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/svdrp.php b/bin/svdrp.php
index 386ecf9..466c2ee 100644
--- a/bin/svdrp.php
+++ b/bin/svdrp.php
@@ -80,7 +80,7 @@ class SVDRP
$number = $data[1];
// TODO: Fehlernummer bearbeiten
- $ret[] = $data[3];
+ $ret[] = str_replace(array("\r", "\r\n", "\n"), '', $data[3]);
if($data[2] != "-" && $nline == 1) $ret = $data[3] ;
if($data[2] != "-") break;
$s = "";