aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-28 17:37:18 -0800
committerzotlabs <mike@macgirvin.com>2017-11-28 17:37:18 -0800
commit76703dee8481075a44b254a548bb29b49530d0ad (patch)
treeb357716a3b0d1dc39b3855fe1839dbf03aa4ba7a /include
parentdf45c13f622d01241ac96b2f16cb964ba688d72c (diff)
downloadvolse-hubzilla-76703dee8481075a44b254a548bb29b49530d0ad.tar.gz
volse-hubzilla-76703dee8481075a44b254a548bb29b49530d0ad.tar.bz2
volse-hubzilla-76703dee8481075a44b254a548bb29b49530d0ad.zip
more chunk work
Diffstat (limited to 'include')
-rw-r--r--include/attach.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index 5b4c24f6f..86c792ed9 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -2506,7 +2506,7 @@ function save_chunk($channel,$start,$end,$len) {
}
if(($len - 1) == $end) {
unlink($tmp_path);
- $result['name'] = $_FILES['files']['tmp_name'];
+ $result['name'] = $_FILES['files']['name'];
$result['type'] = $_FILES['files']['type'];
$result['tmp_name'] = $new_path;
$result['error'] = 0;