aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-12-02 17:31:59 -0800
committerzotlabs <mike@macgirvin.com>2017-12-02 17:31:59 -0800
commit95311ad07e08c01ff8b9d865cbbc2a0b2bae5239 (patch)
tree7b366cfd5950c0fa810b6654df61fc69beaad296 /include
parentef4a0e5af5a249879e446636bd0ade54e2df0b9b (diff)
parentdd2c4c37ff03eef6470ef0364217b2c6208c38c0 (diff)
downloadvolse-hubzilla-95311ad07e08c01ff8b9d865cbbc2a0b2bae5239.tar.gz
volse-hubzilla-95311ad07e08c01ff8b9d865cbbc2a0b2bae5239.tar.bz2
volse-hubzilla-95311ad07e08c01ff8b9d865cbbc2a0b2bae5239.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
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;