[Rt-commit] r7449 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Wed Apr 4 17:51:06 EDT 2007


Author: ruz
Date: Wed Apr  4 17:51:04 2007
New Revision: 7449

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/lib/RT/Condition/OwnerChange.pm

Log:
 r4882 at cubic-pc:  cubic | 2007-04-04 02:26:41 +0400
 * get rid of uninit warning


Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Condition/OwnerChange.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Condition/OwnerChange.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Condition/OwnerChange.pm	Wed Apr  4 17:51:04 2007
@@ -105,7 +105,7 @@
 
 sub IsApplicable {
     my $self = shift;
-    if ($self->TransactionObj->Field eq 'Owner') {
+    if ( ( $self->TransactionObj->Field || '' ) eq 'Owner' ) {
 	return(1);
     } 
     else {


More information about the Rt-commit mailing list