From: Blackeye <14815724-Blackstareye@users.noreply.gitlab.com> Date: Tue, 18 Feb 2025 14:26:37 +0000 (+0000) Subject: Merge branch 'fix_for_issue_23' into 'next-release' X-Git-Url: https://git.p6c8.net/jirafeau_project.git/commitdiff_plain/refs/heads/next-release?hp=fd1347eaf268604e0999a7cfa4b8e3b127a25244 Merge branch 'fix_for_issue_23' into 'next-release' fixed script upload - missing return statement See merge request jirafeau/Jirafeau!18 --- diff --git a/lib/functions.php b/lib/functions.php index 0372507..7ac4c9e 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -446,7 +446,7 @@ function jirafeau_upload($file, $one_time_download, $key, $time, $ip, $crypt, $l 'link' => '', 'delete_link' => '')); } - jirafeau_add_file($file, $one_time_download, $key, $time, $ip, $crypt, $link_name_length, $file_hash_method); + return jirafeau_add_file($file, $one_time_download, $key, $time, $ip, $crypt, $link_name_length, $file_hash_method); } /**