quick fix for v1.4

add global $db; to uploads.php
so that
PHP Code:
function download_file($index$oid) {
//  Look up in the database of upload files, that 
looks like
PHP Code:
function download_file($index$oid) {
global 
$db;
//  Look up in the database of upload files, that