[Rt-commit] r4968 - in rtir/branches/1.9-EXPERIMENTAL: html/RTIR
ruz at bestpractical.com
ruz at bestpractical.com
Tue Apr 4 14:43:17 EDT 2006
Author: ruz
Date: Tue Apr 4 14:43:15 2006
New Revision: 4968
Modified:
rtir/branches/1.9-EXPERIMENTAL/ (props changed)
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Update.html
Log:
r1239 at cubic-pc: cubic | 2006-04-04 22:08:31 +0400
* minor cleanups
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Update.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Update.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Update.html Tue Apr 4 14:43:15 2006
@@ -142,12 +142,7 @@
$ResponseDefault = "SELECTED";
}
-my $Subject;
-if ($ARGS{'UpdateSubject'}) {
- $Subject = $ARGS{'UpdateSubject'};
-} elsif ($Ticket) {
- $Subject = $Ticket->Subject;
-}
+my $Subject = $ARGS{'UpdateSubject'} || $Ticket->Subject;
my $replystring = lc(RT->Config->Get('ReplyString'));
if ( $Action eq 'Respond' &&
@@ -167,8 +162,7 @@
$m->comp( '/RTIR/Create.html:ProcessAttachments', %ARGS );
if ( exists $ARGS{SubmitTicket} ) {
- $m->comp('/RTIR/Display.html', %ARGS);
- $m->abort();
+ return $m->comp('/RTIR/Display.html', %ARGS);
}
</%INIT>
More information about the Rt-commit
mailing list