]> git.p6c8.net - jirafeau_project.git/commitdiff
fixed script upload - missing return statement fix_for_issue_23 15/head 18/head 1675075503
authorBlackstareye <gitlab@blackeyeprojects.de>
Mon, 17 Feb 2025 17:13:46 +0000 (18:13 +0100)
committerBlackstareye <gitlab@blackeyeprojects.de>
Mon, 17 Feb 2025 17:13:46 +0000 (18:13 +0100)
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