[Rt-commit] rt branch, 3.999-trunk, updated. 75fb5f65050655320adfa96249b239816142a996

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sun Nov 22 21:48:44 EST 2009


The branch, 3.999-trunk has been updated
       via  75fb5f65050655320adfa96249b239816142a996 (commit)
      from  9b52f01aa7da2a46c5b15b4928c7e6857710b671 (commit)

Summary of changes:
 lib/RT/Model/Ticket.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 75fb5f65050655320adfa96249b239816142a996
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Nov 23 10:48:35 2009 +0800

    tiny fix

diff --git a/lib/RT/Model/Ticket.pm b/lib/RT/Model/Ticket.pm
index 9e5caa2..4a9813d 100755
--- a/lib/RT/Model/Ticket.pm
+++ b/lib/RT/Model/Ticket.pm
@@ -756,7 +756,7 @@ sub create {
     # //RUZ
 
     foreach my $type ( keys %LINKTYPEMAP ) {
-        next unless ( defined $args{$type} );
+        next unless $args{$type};
         foreach my $link ( ref( $args{$type} ) ? @{ $args{$type} } : ( $args{$type} ) ) {
 
             # Check rights on the other end of the link if we must

-----------------------------------------------------------------------


More information about the Rt-commit mailing list