summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-12-02 23:17:44 -0800
committerJonathan Prykop <jonathan@freeside.biz>2016-02-03 17:47:14 -0600
commit5c9d2ef617ccb199633e1388bd19fc208bc77159 (patch)
treedcf4c5c46fc04767b133d61c9b054844b24bb18b
parent1fe4c763bd0bb6ca3ac572456e4d540e71e83a4c (diff)
fix dragging a ticket to yourself, RT#34237
-rw-r--r--httemplate/misc/xmlhttp-ticket-update.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/misc/xmlhttp-ticket-update.html b/httemplate/misc/xmlhttp-ticket-update.html
index ed54f3125..46ed5bbad 100644
--- a/httemplate/misc/xmlhttp-ticket-update.html
+++ b/httemplate/misc/xmlhttp-ticket-update.html
@@ -23,7 +23,7 @@ if ( $ticket ) {
my $date = RT::Date->new( $session{CurrentUser} );
$date->Set( Format=>'unix', Value=>$starts, );
my($srv, $smsg) = $ticket->SetStarts( $date->ISO );
- $srv = 1 if ! $srv && /already the current value/i;
+ $srv = 1 if ! $srv && $smsg =~ /already the current value/i;
my $ddate;
unless ( ! $srv ) {