[Rt-commit] rt branch, 3.999-trunk, updated. 9981e5c1ce70b9c51d2616e9e118bb5f1d9a41f9
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Mon Oct 12 08:04:12 EDT 2009
The branch, 3.999-trunk has been updated
via 9981e5c1ce70b9c51d2616e9e118bb5f1d9a41f9 (commit)
from 5f51c34d6a0b4900bc20b1782193ad0f30b293e0 (commit)
Summary of changes:
lib/RT/Test.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 9981e5c1ce70b9c51d2616e9e118bb5f1d9a41f9
Author: sunnavy <sunnavy at bestpractical.com>
Date: Mon Oct 12 20:03:55 2009 +0800
clean a warning
diff --git a/lib/RT/Test.pm b/lib/RT/Test.pm
index 427d3de..dbb4f8e 100644
--- a/lib/RT/Test.pm
+++ b/lib/RT/Test.pm
@@ -261,7 +261,7 @@ sub load_or_create_queue {
my @fields = qw(correspond_address comment_address);
foreach my $field (@fields) {
next unless exists $args{$field};
- next if $args{$field} eq $obj->$field;
+ next if $obj->$field && $args{$field} eq $obj->$field;
no warnings 'uninitialized';
my $method = 'set_' . $field;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list