diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-12-02 23:17:44 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-12-02 23:17:44 -0800 |
commit | 11e14b5e8d431d0414a9a07fc340a106102032ef (patch) | |
tree | 3f622e21656f171fbbb884ef0afa1b1e04c3431e /httemplate/misc | |
parent | 22a07e7a06ec8eb8e11813fcbad8e2eb8b1c0c30 (diff) |
fix dragging a ticket to yourself, RT#34237
Diffstat (limited to 'httemplate/misc')
-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 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 ) { |