[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.7-967-g6ff5f14
Ruslan Zakirov
ruz at bestpractical.com
Tue Dec 21 09:06:52 EST 2010
The branch, 3.9-trunk has been updated
via 6ff5f1463d445738305e32d959f4932eff3bf3f3 (commit)
from 070ae0bee2695a3f528cb01fbacc43e712831746 (commit)
Summary of changes:
share/html/Ticket/Update.html | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
- Log -----------------------------------------------------------------
commit 6ff5f1463d445738305e32d959f4932eff3bf3f3
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Tue Dec 21 17:06:22 2010 +0300
magic title generating makes no sense when you have lifecycles
diff --git a/share/html/Ticket/Update.html b/share/html/Ticket/Update.html
index e8f05bf..9664e16 100755
--- a/share/html/Ticket/Update.html
+++ b/share/html/Ticket/Update.html
@@ -203,7 +203,6 @@
my $CanRespond = 0;
my $CanComment = 0;
my $checks_failure = 0;
-my $title;
my $TicketObj = LoadTicket($id);
@@ -215,11 +214,7 @@ unless($DefaultStatus){
$DefaultStatus=($ARGS{'Status'} ||$TicketObj->Status());
}
-if ($DefaultStatus eq 'resolved') {
- $title = loc("Resolve ticket #[_1] ([_2])", $TicketObj->id, $TicketObj->Subject);
-} else {
- $title = loc("Update ticket #[_1] ([_2])", $TicketObj->id, $TicketObj->Subject);
-}
+my $title = loc("Update ticket #[_1] ([_2])", $TicketObj->id, $TicketObj->Subject);
# Things needed in the template - we'll do the processing here, just
# for the convenience:
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list