diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-11-05 00:00:41 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-11-05 00:00:41 -0800 |
commit | 58fe4f5cb37bb812993850750eda201d5dccf112 (patch) | |
tree | 1673e45597e64f55fea5adacd575b238211ce16e /include | |
parent | 2ebd9a2774a361bcdafb20d6eec6974b631609ea (diff) | |
download | volse-hubzilla-58fe4f5cb37bb812993850750eda201d5dccf112.tar.gz volse-hubzilla-58fe4f5cb37bb812993850750eda201d5dccf112.tar.bz2 volse-hubzilla-58fe4f5cb37bb812993850750eda201d5dccf112.zip |
fix the file chunking api now that we've got working data to test with
Diffstat (limited to 'include')
-rw-r--r-- | include/api.php | 2 |
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); |