Created
July 27, 2010 12:48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm | |
index 7e5f975..ad2a6a3 100755 | |
--- a/lib/RT/Interface/Web.pm | |
+++ b/lib/RT/Interface/Web.pm | |
@@ -1521,6 +1521,8 @@ sub ProcessTicketBasics { | |
my $TicketObj = $args{'TicketObj'}; | |
my $ARGSRef = $args{'ARGSRef'}; | |
+ my $OrigOwner = $TicketObj->Owner; | |
+ | |
# {{{ Set basic fields | |
my @attribs = qw( | |
Subject | |
@@ -1553,7 +1555,7 @@ sub ProcessTicketBasics { | |
); | |
# We special case owner changing, so we can use ForceOwnerChange | |
- if ( $ARGSRef->{'Owner'} && ( $TicketObj->Owner != $ARGSRef->{'Owner'} ) ) { | |
+ if ( $ARGSRef->{'Owner'} && ( $OrigOwner != $ARGSRef->{'Owner'} ) ) { | |
my ($ChownType); | |
if ( $ARGSRef->{'ForceOwnerChange'} ) { | |
$ChownType = "Force"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment