[Rt-commit] r7360 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Tue Mar 27 06:24:09 EDT 2007
Author: ruz
Date: Tue Mar 27 06:23:35 2007
New Revision: 7360
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web.pm
Log:
r4809 at cubic-pc: cubic | 2007-03-26 23:04:36 +0400
* attach tickets on create
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web.pm Tue Mar 27 06:23:35 2007
@@ -383,6 +383,14 @@
RT::Action::SendEmail->SquelchMailTo( RT::Action::SendEmail->SquelchMailTo, @temp_squelch );
}
+ if ( $ARGS{'AttachTickets'} ) {
+ require RT::Action::SendEmail;
+ RT::Action::SendEmail->AttachTickets(
+ RT::Action::SendEmail->AttachTickets,
+ @{ $ARGS{'AttachTickets'} }
+ );
+ }
+
foreach my $arg (keys %ARGS) {
next if $arg =~ /-(?:Magic|Category)$/;
More information about the Rt-commit
mailing list