Changeset 1015

Show
Ignore:
Timestamp:
04/04/06 15:23:22 (8 years ago)
Author:
dana
Message:

fixed table reference to refer to the new content_file table in the SQL query

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/file_download.php

    r916 r1015  
    5151    global $db; 
    5252    $file_id = $db->escapeString($_REQUEST['file_id']); 
    53     $sql = "SELECT * FROM files WHERE files_id = '$file_id'"; 
     53    $sql = "SELECT * FROM content_file WHERE files_id = '$file_id'"; 
    5454    $db->execSqlUniqueRes($sql, $file_row, false); 
    5555