don't fire scrips for reminders either, RT#8260
authorivan <ivan>
Wed, 28 Jul 2010 19:32:58 +0000 (19:32 +0000)
committerivan <ivan>
Wed, 28 Jul 2010 19:32:58 +0000 (19:32 +0000)
rt/lib/RT/Ticket_Overlay.pm

index bcc9624..b60ae38 100644 (file)
@@ -721,7 +721,8 @@ sub Create {
         );
     }
 
-    if ( $args{'_RecordTransaction'} ) {
+    #don't make a transaction or fire off any scrips for reminders either
+    if ( $args{'_RecordTransaction'} && $self->Type ne 'reminder' ) {
 
         # {{{ Add a transaction for the create
         my ( $Trans, $Msg, $TransObj ) = $self->_NewTransaction(