diff options
author | jake%acutex.net <> | 2001-07-21 00:18:25 +0200 |
---|---|---|
committer | jake%acutex.net <> | 2001-07-21 00:18:25 +0200 |
commit | 32c74ca90011bfa5cfc781ca0879529abb3c5d30 (patch) | |
tree | a37625309a4e03167eea6977451b70246fe7fa46 /move.pl | |
parent | 708fafdbfa042bea7e5bb006ca1bdcde69248431 (diff) | |
download | bugzilla-32c74ca90011bfa5cfc781ca0879529abb3c5d30.tar.gz bugzilla-32c74ca90011bfa5cfc781ca0879529abb3c5d30.tar.xz |
Fix for bugs 55161 and 12819. The activity log now stores only what's changed in multi-value fields.
r= justdave@syndicomm.com
Diffstat (limited to 'move.pl')
-rwxr-xr-x | move.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -107,12 +107,12 @@ foreach my $id (split(/:/, $::FORM{'buglist'})) { my $fieldid = GetFieldID("bug_status"); my $cur_status= $bug->bug_status; SendSQL("INSERT INTO bugs_activity " . - "(bug_id,who,bug_when,fieldid,oldvalue,newvalue) VALUES " . + "(bug_id,who,bug_when,fieldid,removed,added) VALUES " . "($id,$exporterid,now(),$fieldid,'$cur_status','RESOLVED')"); $fieldid = GetFieldID("resolution"); my $cur_res= $bug->resolution; SendSQL("INSERT INTO bugs_activity " . - "(bug_id,who,bug_when,fieldid,oldvalue,newvalue) VALUES " . + "(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\""); |