Skip to content

Commit

Permalink
Fix variable substitution issue due to single quotes
Browse files Browse the repository at this point in the history
Thanks @atrol
  • Loading branch information
dregad committed Aug 20, 2015
1 parent aa65275 commit c86742a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/file_api.php
Expand Up @@ -930,7 +930,7 @@ function file_copy_attachments( $p_source_bug_id, $p_dest_bug_id ) {
}
}

$t_query = 'INSERT INTO $t_mantis_bug_file_table (
$t_query = 'INSERT INTO ' . $t_mantis_bug_file_table . ' (
bug_id, title, description, diskfile, filename, folder,
filesize, file_type, date_added, user_id, content
)
Expand Down

0 comments on commit c86742a

Please sign in to comment.