From de9d037528895f7151a9aead6724ce2df95f9586 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 6 Aug 2017 10:11:28 -0700 Subject: rt 4.2.14 (#13852) --- rt/share/html/Ticket/Update.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rt/share/html/Ticket/Update.html') diff --git a/rt/share/html/Ticket/Update.html b/rt/share/html/Ticket/Update.html index b23f70aed..f922c23ec 100755 --- a/rt/share/html/Ticket/Update.html +++ b/rt/share/html/Ticket/Update.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -325,6 +325,9 @@ if ( $ARGS{'SubmitTicket'} ) { $ARGS{ $field } = join ', ', map $_->format, grep defined, @emails; } } + +# $skip_update is provided below by reference to allow a final check to stop +# the update and print a message for the user to fix something. my $skip_update = 0; $m->callback( CallbackName => 'BeforeUpdate', ARGSRef => \%ARGS, skip_update => \$skip_update, checks_failure => $checks_failure, results => \@results, TicketObj => $TicketObj ); -- cgit v1.2.1