From 58fe4f5cb37bb812993850750eda201d5dccf112 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 5 Nov 2015 00:00:41 -0800 Subject: fix the file chunking api now that we've got working data to test with --- include/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3