[Rt-commit] r8391 - in rt/branches/3.7-EXPERIMENTAL-TUNIS: lib/RT
thayes at bestpractical.com
thayes at bestpractical.com
Fri Aug 3 15:25:58 EDT 2007
Author: thayes
Date: Fri Aug 3 15:25:58 2007
New Revision: 8391
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/ (props changed)
rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Ticket.pm
Log:
r8582 at toth: toth | 2007-08-03 15:21:29 -0400
* Fixed RT::Ticket::Lock so that it wouldn't overwrite identical-priority locks from another user
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Ticket.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Ticket.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Ticket.pm Fri Aug 3 15:25:58 2007
@@ -239,6 +239,7 @@
my $type = shift || 'Auto';
if ( my $lock = $ticket->Locked() ) {
+ return undef if $lock->Content->{'User'} != $ticket->CurrentUser->id;
my $LockType = $lock->Content->{'Type'};
my $priority;
my $LockPriority;
More information about the Rt-commit
mailing list