]> git.p6c8.net - jirafeau_project.git/blobdiff - lib/functions.php
fixed script upload - missing return statement
[jirafeau_project.git] / 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