aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php
index 711b946ed..b51bcc5f0 100644
--- a/include/api.php
+++ b/include/api.php
@@ -673,7 +673,7 @@ require_once('include/attach.php');
$ptr['data'] = base64_encode($x);
}
else {
- $fp = fopen(dbunescbin($ptr['data'],'r'));
+ $fp = fopen(dbunescbin($ptr['data']),'r');
if($fp) {
$seek = fseek($fp,$start,SEEK_SET);
$x = fread($fp,$length);