diff options
Diffstat (limited to 'importxml.pl')
-rwxr-xr-x | importxml.pl | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/importxml.pl b/importxml.pl index 21d962d41..277681a35 100755 --- a/importxml.pl +++ b/importxml.pl @@ -339,21 +339,13 @@ for (my $k=1 ; $k <= $bugqty ; $k++) { my @query = (); my @values = (); - foreach my $field ( qw(creation_ts status_whiteboard) ) { + foreach my $field ( qw(creation_ts delta_ts status_whiteboard) ) { if ( (defined $bug_fields{$field}) && ($bug_fields{$field}) ){ push (@query, "$field"); push (@values, SqlQuote($bug_fields{$field})); } } - push (@query, "delta_ts"); - if ( (defined $bug_fields{'delta_ts'}) && ($bug_fields{'delta_ts'}) ){ - push (@values, SqlQuote($bug_fields{'delta_ts'})); - } - else { - push (@values, "NOW()"); - } - if ( (defined $bug_fields{'bug_file_loc'}) && ($bug_fields{'bug_file_loc'}) ){ push (@query, "bug_file_loc"); push (@values, SqlQuote($bug_fields{'bug_file_loc'})); |