[Rt-commit] rt branch, create-action, updated. 19568579859bda4738fcad34a0d98a8ca8b1be2a

sartak at bestpractical.com sartak at bestpractical.com
Mon Nov 9 18:14:05 EST 2009


The branch, create-action has been updated
       via  19568579859bda4738fcad34a0d98a8ca8b1be2a (commit)
      from  68a0be13704109180b7fd6409c3b7aecb8a66da4 (commit)

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

- Log -----------------------------------------------------------------
commit 19568579859bda4738fcad34a0d98a8ca8b1be2a
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon Nov 9 18:13:53 2009 -0500

    Finish previous commit

diff --git a/lib/RT/Model/Transaction.pm b/lib/RT/Model/Transaction.pm
index c003dd1..9372e6e 100755
--- a/lib/RT/Model/Transaction.pm
+++ b/lib/RT/Model/Transaction.pm
@@ -1158,12 +1158,12 @@ sub update_custom_fields {
     my $self = shift;
     my %args = (@_);
 
-    foreach my $arg ( keys %$args ) {
+    foreach my $arg ( keys %args ) {
         next
             unless ( $arg =~ /^(?:object-RT::Model::Transaction--)?CustomField-(\d+)/ );
         next if $arg =~ /-magic$/;
         my $cfid   = $1;
-        my $values = $args->{$arg};
+        my $values = $args{$arg};
         foreach my $value ( UNIVERSAL::isa( $values, 'ARRAY' ) ? @$values : $values ) {
             next unless length($value);
             $self->add_custom_field_value(

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


More information about the Rt-commit mailing list