projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fa2326a
)
fix transaction custom field handling, #11168
author
Mark Wells
<mark@freeside.biz>
Wed, 22 Aug 2012 01:44:31 +0000
(18:44 -0700)
committer
Mark Wells
<mark@freeside.biz>
Wed, 22 Aug 2012 01:44:31 +0000
(18:44 -0700)
rt/lib/RT/Transaction.pm
patch
|
blob
|
history
diff --git
a/rt/lib/RT/Transaction.pm
b/rt/lib/RT/Transaction.pm
index
bd4d835
..
3344687
100755
(executable)
--- a/
rt/lib/RT/Transaction.pm
+++ b/
rt/lib/RT/Transaction.pm
@@
-133,12
+133,6
@@
sub Create {
return ( 0, $self->loc( "Transaction->Create couldn't, as you didn't specify an object type and id"));
}
return ( 0, $self->loc( "Transaction->Create couldn't, as you didn't specify an object type and id"));
}
-
- # Set up any custom fields passed at creation. Has to happen
- # before scrips.
-
- $self->UpdateCustomFields(%{ $args{'CustomFields'} });
-
#lets create our transaction
my %params = (
Type => $args{'Type'},
#lets create our transaction
my %params = (
Type => $args{'Type'},
@@
-169,6
+163,11
@@
sub Create {
}
}
}
}
+ # Set up any custom fields passed at creation. Has to happen
+ # before scrips.
+
+ $self->UpdateCustomFields(%{ $args{'CustomFields'} });
+
$self->AddAttribute(
Name => 'SquelchMailTo',
Content => RT::User->CanonicalizeEmailAddress($_)
$self->AddAttribute(
Name => 'SquelchMailTo',
Content => RT::User->CanonicalizeEmailAddress($_)