[Rt-commit] r14047 - in rt/branches/3.999-DANGEROUS: lib/RT/Model
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Mon Jul 14 06:07:24 EDT 2008
Author: sunnavy
Date: Mon Jul 14 06:07:22 2008
New Revision: 14047
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/lib/RT/Model/Ticket.pm
Log:
r14388 at sunnavys-mb: sunnavy | 2008-07-14 15:44:19 +0800
tiny fix
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/Ticket.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/Ticket.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/Ticket.pm Mon Jul 14 06:07:22 2008
@@ -487,7 +487,7 @@
if ( $watcher =~ /^\d+$/ ) {
push @{ $args{$type} }, $watcher;
} else {
- my @addresses = email::Address->parse($watcher);
+ my @addresses = Email::Address->parse($watcher);
foreach my $address (@addresses) {
my $user = RT::Model::User->new( current_user => RT->system_user );
my ( $uid, $msg ) = $user->load_or_create_by_email($address);
@@ -3008,7 +3008,7 @@
if !$field || $field =~ /^\d+$/;
my $cf = RT::Model::CustomField->new;
- $cf->load_by_name_and_queue( name => $field, queue => $self->Queue );
+ $cf->load_by_name_and_queue( name => $field, queue => $self->queue );
unless ( $cf->id ) {
$cf->load_by_name_and_queue( name => $field, queue => 0 );
}
More information about the Rt-commit
mailing list