diff options
author | Mario <mario@mariovavti.com> | 2021-01-02 20:38:44 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-01-02 20:38:44 +0000 |
commit | 6091c2dba01046b90b2639ca75242dd862e14358 (patch) | |
tree | 9b9c2fb1f0d6dddba722068d0c60c734a023944f /Zotlabs | |
parent | 2862a732537bf01a2f8ac71d7c5601a50ed3be91 (diff) | |
download | volse-hubzilla-6091c2dba01046b90b2639ca75242dd862e14358.tar.gz volse-hubzilla-6091c2dba01046b90b2639ca75242dd862e14358.tar.bz2 volse-hubzilla-6091c2dba01046b90b2639ca75242dd862e14358.zip |
fix wrong variable
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/File_upload.php | 2 |
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)); |