RT-Extension-FormTools
view release on metacpan or search on metacpan
lib/RT/Interface/Web_Vendor.pm view on Meta::CPAN
123456789101112131415package
HTML::Mason::Commands;
no
warnings
qw(redefine)
;
# This should be the same class we are overlaying here
my
$original_abort
= \
&HTML::Mason::Commands::Abort
;
*HTML::Mason::Commands::Abort
=
sub
{
my
$why
=
shift
;
my
%args
=
@_
;
if
(
$why
=~ /^No permission to view newly created ticket
#(\d+)/ ) {
# We're showing a custom "form submitted" page, not the ticket,
# so we don't want to abort if the user doesn't have rights to
# see the ticket.
( run in 0.326 second using v1.01-cache-2.11-cpan-05444aca049 )