[Rt-commit] r19431 - rt/3.999/trunk/lib/RT/Interface

sartak at bestpractical.com sartak at bestpractical.com
Mon May 4 19:09:42 EDT 2009


Author: sartak
Date: Mon May  4 19:09:42 2009
New Revision: 19431

Modified:
   rt/3.999/trunk/lib/RT/Interface/Web.pm

Log:
Compare owner_id instead of owner object for avoiding spurious update
warnings

Modified: rt/3.999/trunk/lib/RT/Interface/Web.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/Interface/Web.pm	(original)
+++ rt/3.999/trunk/lib/RT/Interface/Web.pm	Mon May  4 19:09:42 2009
@@ -941,7 +941,7 @@
 
     # We special case owner changing, so we can use force_owner_change
     if ( $args_ref->{'owner'}
-        && ( $ticket_obj->owner != $args_ref->{'owner'} ) )
+        && ( $ticket_obj->owner_id != $args_ref->{'owner'} ) )
     {
         my ($ChownType);
         if ( $args_ref->{'force_owner_change'} ) {


More information about the Rt-commit mailing list