[freeside-commits] branch master updated. 11e14b5e8d431d0414a9a07fc340a106102032ef

Ivan ivan at 420.am
Wed Dec 2 23:17:45 PST 2015


The branch, master has been updated
       via  11e14b5e8d431d0414a9a07fc340a106102032ef (commit)
      from  22a07e7a06ec8eb8e11813fcbad8e2eb8b1c0c30 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 11e14b5e8d431d0414a9a07fc340a106102032ef
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Dec 2 23:17:44 2015 -0800

    fix dragging a ticket to yourself, RT#34237

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 ) {

-----------------------------------------------------------------------

Summary of changes:
 httemplate/misc/xmlhttp-ticket-update.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list