]> git.p6c8.net - jirafeau_project.git/commitdiff
Merge branch 'fix_for_issue_23' into 'next-release' next-release
authorBlackeye <14815724-Blackstareye@users.noreply.gitlab.com>
Tue, 18 Feb 2025 14:26:37 +0000 (14:26 +0000)
committerBlackeye <14815724-Blackstareye@users.noreply.gitlab.com>
Tue, 18 Feb 2025 14:26:37 +0000 (14:26 +0000)
fixed script upload - missing return statement

See merge request jirafeau/Jirafeau!18

lib/functions.php

index 03725073dae490118cf8ae4837578c99e4d58e03..7ac4c9e3f4eb18fb27c2e443131e339b1cf54227 100644 (file)
@@ -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);
 }
 
 /**

patrick-canterino.de