Skip to content

Commit

Permalink
Fix #11059: Missing space in SQL query
Browse files Browse the repository at this point in the history
  • Loading branch information
amyreese committed Oct 20, 2009
1 parent f46bc27 commit dc65b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/version_api.php
Expand Up @@ -230,7 +230,7 @@ function version_update( $p_version_info ) {

if( $c_version_name != $c_old_version_name ) {
$query = 'UPDATE ' . $t_bug_table . ' SET version=' . db_param() .
'WHERE ( project_id=' . db_param() . ') AND ( version=' . db_param() . ')';
' WHERE ( project_id=' . db_param() . ') AND ( version=' . db_param() . ')';
db_query_bound( $query, Array( $c_version_name, $c_project_id, $c_old_version_name ) );

$query = "UPDATE $t_bug_table
Expand Down

0 comments on commit dc65b91

Please sign in to comment.