Skip to content
Snippets Groups Projects
Commit d0dbcf42 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix unescaped reserved mysql column name

parent 918598f3
Branches
Tags
No related merge requests found
......@@ -322,7 +322,7 @@ class AttachmentFile {
}
// Check and see if the file is already on record
$sql = 'SELECT id, key FROM '.FILE_TABLE
$sql = 'SELECT id, `key` FROM '.FILE_TABLE
.' WHERE signature='.db_input($file['signature'])
.' AND size='.db_input($file['size']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment