aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-02 20:38:44 +0000
committerMario <mario@mariovavti.com>2021-01-02 20:38:44 +0000
commit6091c2dba01046b90b2639ca75242dd862e14358 (patch)
tree9b9c2fb1f0d6dddba722068d0c60c734a023944f
parent2862a732537bf01a2f8ac71d7c5601a50ed3be91 (diff)
downloadvolse-hubzilla-6091c2dba01046b90b2639ca75242dd862e14358.tar.gz
volse-hubzilla-6091c2dba01046b90b2639ca75242dd862e14358.tar.bz2
volse-hubzilla-6091c2dba01046b90b2639ca75242dd862e14358.zip
fix wrong variable
-rw-r--r--Zotlabs/Module/File_upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/File_upload.php b/Zotlabs/Module/File_upload.php
index 6794dceee..e18067e20 100644
--- a/Zotlabs/Module/File_upload.php
+++ b/Zotlabs/Module/File_upload.php
@@ -64,7 +64,7 @@ class File_upload extends \Zotlabs\Web\Controller {
if($x['partial']) {
header('Range: bytes=0-' . (($x['length']) ? $x['length'] - 1 : 0));
- json_return_and_die($result);
+ json_return_and_die($x);
}
else {
header('Range: bytes=0-' . (($x['size']) ? $x['size'] - 1 : 0));