From ef58eff737b2fdcb4f97c8667e2f83e7f7aa70c7 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 27 Jul 2018 08:29:03 +0200 Subject: [PATCH] Bug 20661: (QA follow-up) Add POD for output_and_exit Resolve: FAIL C4/Output.pm FAIL pod *** ERROR: Apparent command =cut not preceded by blank line in file C4/Output.pm FAIL pod coverage POD is missing for output_and_exit Test plan: Run QA tools again. Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens --- C4/Output.pm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/C4/Output.pm b/C4/Output.pm index eef4506e87..71f82e8a87 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -62,7 +62,6 @@ C4::Output - Functions for managing output, is slowly being deprecated =head1 FUNCTIONS =over 2 -=cut =item pagination_bar @@ -342,6 +341,15 @@ sub output_and_exit_if_error { return; } +=item output_and_exit + + output_and_exit( $query, $cookie, $template, $error ); + + $error is a blocking error like biblionumber not found or so. + We should output the error and exit. + +=cut + sub output_and_exit { my ( $query, $cookie, $template, $error ) = @_; $template->param( blocking_error => $error ); -- 2.39.5