From ed20d719e2df695ed2c9127f364886b902d82a24 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Sat, 29 Jan 2005 03:01:27 +0000 Subject: Bug 257315 : type of delta_ts in bugs table should not be timestamp Patch by Tomas Kopal r=vladd, LpSolit a=justdave --- move.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'move.pl') diff --git a/move.pl b/move.pl index 328671f81..7747baaed 100755 --- a/move.pl +++ b/move.pl @@ -122,8 +122,10 @@ foreach my $id (split(/:/, scalar($cgi->param('buglist')))) { "(bug_id,who,bug_when,fieldid,removed,added) VALUES " . "($id,$exporterid,now(),$fieldid,'$cur_res','MOVED')"); - SendSQL("UPDATE bugs SET bug_status =\"RESOLVED\" where bug_id=\"$id\""); - SendSQL("UPDATE bugs SET resolution =\"MOVED\" where bug_id=\"$id\""); + SendSQL("UPDATE bugs SET bug_status =\"RESOLVED\", + resolution =\"MOVED\", + delta_ts = NOW() + WHERE bug_id=\"$id\""); my $comment = ""; if (defined $cgi->param('comment') && $cgi->param('comment') !~ /^\s*$/) { -- cgit v1.2.3-24-g4f1b