[Rt-commit] r8360 - in rt/branches/3.7-EXPERIMENTAL-TUNIS: .
thayes at bestpractical.com
thayes at bestpractical.com
Wed Aug 1 14:05:38 EDT 2007
Author: thayes
Date: Wed Aug 1 14:05:38 2007
New Revision: 8360
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/ (props changed)
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Display.html
Log:
r8531 at toth: toth | 2007-08-01 14:05:28 -0400
* Fixed Display page to accomodate new hard/auto locking system
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Display.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Display.html (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Display.html Wed Aug 1 14:05:38 2007
@@ -146,7 +146,7 @@
if ( defined $ARGS{'Lock'} ) {
if ( $ARGS{'Lock'} eq 'add' ) {
- if ( $TicketObj->Lock() ) {
+ if ( $TicketObj->Lock(1) ) {
push @Actions, loc('You now have a lock on this ticket');
} else {
push @Actions, loc('Your attempt to lock this ticket failed');
@@ -157,7 +157,7 @@
push @Actions, loc('This ticket was not locked');
} elsif ( $lock->Content->{'User'} == $session{'CurrentUser'}->id ) {
$Duration = time() - $lock->Content->{'Timestamp'};
- $TicketObj->Unlock();
+ $TicketObj->Unlock(1);
push @Actions, loc('You have unlocked this ticket');
} else {
push @Actions,
More information about the Rt-commit
mailing list