Index: Bugzilla.pm.in
===================================================================
RCS file: /projects/scmbug/cvsroot/system/src/lib/product/Daemon/Bugzilla.pm.in,v
retrieving revision 1.58
diff -r1.58 Bugzilla.pm.in
371a372
>             $status_map->{ $status }->{ accepts_data_as_resolution } = 0;
549c550
<         my $privileges_are_required = 0;
---
>         my $privileges_are_required = 0; #Set within check_can_change_field, not used at the moment
583c584
<                 my %data = { 'knob' => 'reassign' };
---
>                 my %data = { 'knob' => 'reassign' }; #Needed by check_can_change_field for correctness
640c641
<                     # We don't want to be verbose to the user here
---
>                     # We don't want to be verbose to the user here, because he doesn't have the permissions
645c646
<             $sql .= "remaining_time = 0";
---
>             $sql .= "remaining_time = 0"; #Must reset time in this case, is also done in bugzilla's process_bug.cgi
657c658
<         
---
>         # Lock database tables, avoid midair collisions
659c660
<         my $timestamp = $dbh->selectrow_array("SELECT NOW()");
---
>         my $timestamp = $dbh->selectrow_array("SELECT NOW()"); # use same timestamp for all modifications
670a672
>                     # Remove if previous resolution was duplicate
677a680
>                         # Simulate bugzilla behavior when marking as duplicate
682a686
>                 # Finally add values to bug's activity log
