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
No related branches found
No related tags found
No related merge requests found
...@@ -322,7 +322,7 @@ class AttachmentFile { ...@@ -322,7 +322,7 @@ class AttachmentFile {
} }
// Check and see if the file is already on record // 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']) .' WHERE signature='.db_input($file['signature'])
.' AND size='.db_input($file['size']); .' 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