[Rt-commit] r12604 - rt/branches/3.8-TESTING/share/html/SelfService
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Wed May 21 11:36:33 EDT 2008
Author: sunnavy
Date: Wed May 21 11:36:31 2008
New Revision: 12604
Modified:
rt/branches/3.8-TESTING/share/html/SelfService/Display.html
Log:
we should set status after 'Add correspondence', or the ticket will be autoopen because of the 'On Correspond Open Tickets' scrip
Modified: rt/branches/3.8-TESTING/share/html/SelfService/Display.html
==============================================================================
--- rt/branches/3.8-TESTING/share/html/SelfService/Display.html (original)
+++ rt/branches/3.8-TESTING/share/html/SelfService/Display.html Wed May 21 11:36:31 2008
@@ -164,16 +164,6 @@
my ( $code, $msg );
- #Update the status
- if ( ( defined $ARGS{'Status'} )
- and $ARGS{'Status'}
- and ( $ARGS{'Status'} ne $Ticket->Status ) )
- {
- ( $code, $msg ) = $Ticket->SetStatus( $ARGS{'Status'} );
- push @results, "$msg";
- }
-
- # }}}
if (
$session{'Attachments'}
@@ -201,6 +191,17 @@
# }}}
+ #Update the status
+ if ( ( defined $ARGS{'Status'} )
+ and $ARGS{'Status'}
+ and ( $ARGS{'Status'} ne $Ticket->Status ) )
+ {
+ ( $code, $msg ) = $Ticket->SetStatus( $ARGS{'Status'} );
+ push @results, "$msg";
+ }
+ # }}}
+
+
}
# This code does automatic redirection if any updates happen.
More information about the Rt-commit
mailing list