[Rt-commit] r2332 - in rt/branches/3.4-RELEASE: . lib/RT

jesse at bestpractical.com jesse at bestpractical.com
Wed Mar 9 17:25:26 EST 2005


Author: jesse
Date: Wed Mar  9 17:25:25 2005
New Revision: 2332

Modified:
   rt/branches/3.4-RELEASE/   (props changed)
   rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
Log:
 r6651 at hualien:  jesse | 2005-03-09 17:23:54 -0500
 RT-Ticket: 6459
 RT-Status: resolved
 RT-Update: correspond
 
 Sanity fixes for _AddLink's API from Todd Chapman
 


Modified: rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm	(original)
+++ rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm	Wed Mar  9 17:25:25 2005
@@ -2613,7 +2613,7 @@
 
     # Don't write the transaction if we're doing this on create
     if ( $args{'Silent'} ) {
-        return ( 1, $Msg );
+        return ( $val, $Msg );
     }
     else {
 	my $remote_uri = RT::URI->new( $RT::SystemUser );
@@ -2625,7 +2625,7 @@
 				   Field => $LINKDIRMAP{$args{'Type'}}->{$direction},
 				   NewValue =>  $remote_uri->URI || $remote_link,
 				   TimeTaken => 0 );
-        return ( $Trans, $Msg );
+        return ( $val, $Msg );
     }
 
 }


More information about the Rt-commit mailing list