diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-12-02 23:17:45 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-12-02 23:17:45 -0800 |
commit | d116db33829a49e738931fdc7b8f92e39f40e3c7 (patch) | |
tree | 0b1443b749e319043f200199576643cf3c3ff989 | |
parent | 7950e3a110063a1c0ae0586dcecd2d7e7d880192 (diff) |
fix dragging a ticket to yourself, RT#34237
-rw-r--r-- | httemplate/misc/xmlhttp-ticket-update.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/misc/xmlhttp-ticket-update.html b/httemplate/misc/xmlhttp-ticket-update.html index ed54f31..46ed5bb 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 ) { |