[Bps-public-commit] r10829 - RT-Extension-SLA/lib/RT/Action

ruz at bestpractical.com ruz at bestpractical.com
Thu Feb 14 01:51:14 EST 2008


Author: ruz
Date: Thu Feb 14 01:51:14 2008
New Revision: 10829

Modified:
   RT-Extension-SLA/lib/RT/Action/SLA.pm

Log:
* $method is already declared with 'my' earlier

Modified: RT-Extension-SLA/lib/RT/Action/SLA.pm
==============================================================================
--- RT-Extension-SLA/lib/RT/Action/SLA.pm	(original)
+++ RT-Extension-SLA/lib/RT/Action/SLA.pm	Thu Feb 14 01:51:14 2008
@@ -22,7 +22,7 @@
     my $date = RT::Date->new( $RT::SystemUser );
     $date->Set( Format => 'unix', Value => $value );
 
-    my $method = 'Set'. $type;
+    $method = 'Set'. $type;
     my ($status, $msg) = $ticket->$method( $date->ISO );
     unless ( $status ) {
         $RT::Logger->error("Couldn't set $type date: $msg");



More information about the Bps-public-commit mailing list