aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-30 19:06:00 -0800
committerzotlabs <mike@macgirvin.com>2017-11-30 19:06:00 -0800
commit19ec8488e09bcff3a7ef6e9d2abbe4b0c213b3f8 (patch)
treeaba909fa56e2875deb4a25542c97eb490ab3e4fd /include
parentfc5b6887168a25992fb089ed7da7ac917e7aaf6b (diff)
parent0e8e0b48b3fd6f4d6d0dd60039743371930af08d (diff)
downloadvolse-hubzilla-19ec8488e09bcff3a7ef6e9d2abbe4b0c213b3f8.tar.gz
volse-hubzilla-19ec8488e09bcff3a7ef6e9d2abbe4b0c213b3f8.tar.bz2
volse-hubzilla-19ec8488e09bcff3a7ef6e9d2abbe4b0c213b3f8.zip
Merge branch 'chunk'
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;