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 48bdeba..72e63eb 100755
--- a/bin/vdr.php
+++ b/bin/vdr.php
@@ -565,7 +565,7 @@ function vdrgetepg($channel, $time, $day, $programs, $extended)
function vdrgetrecinfo($rec)
{
$infofile = $rec ."/info";
- $infofile = addslashes($infofile);
+ $infofile = addcslashes($infofile, "'");
if (file_exists($infofile))
$info= file_get_contents($infofile);
else