Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Commit

rt branch, create-action, updated. 19568579859bda4738fcad34a0d98a8ca8b1be2a

 

 

Request Tracker commit RSS feed   Index | Next | Previous | View Threaded


sartak at bestpractical

Nov 9, 2009, 3:14 PM

Post #1 of 1 (350 views)
Permalink
rt branch, create-action, updated. 19568579859bda4738fcad34a0d98a8ca8b1be2a

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>
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(

-----------------------------------------------------------------------
_______________________________________________
Rt-commit mailing list
Rt-commit [at] lists
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit

Request Tracker commit RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.