From: Blackstareye Date: Mon, 17 Feb 2025 17:13:46 +0000 (+0100) Subject: fixed script upload - missing return statement X-Git-Url: https://git.p6c8.net/jirafeau_project.git/commitdiff_plain/3fb73e41b539df62f75cbcf740488cfc15fa8b79 fixed script upload - missing return statement --- 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); } /**