Skip to content

Commit 88f5df7

Browse files
committed
Add cookie to remaining output_html
1 parent ae31685 commit 88f5df7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Koha/Plugin/Com/PTFSEurope/IncDocs.pm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ use Koha::ILL::Request::Workflow;
3939
use Koha::Libraries;
4040
use Koha::Patrons;
4141

42-
our $VERSION = "2.3.7";
42+
our $VERSION = "2.3.8";
4343

4444
our $metadata = {
4545
name => 'IncDocs',
@@ -1767,7 +1767,7 @@ sub list_incdocs_libraries {
17671767
|| !$self->{config}->{library_libraryidfield} )
17681768
{
17691769
$template->param( 'error' => 'Configuration invalid or incomplete' );
1770-
$self->output_html( $template->output() );
1770+
$self->output_html( $template->output(), undef, undef, $cookie );
17711771
return;
17721772
}
17731773

@@ -1777,7 +1777,7 @@ sub list_incdocs_libraries {
17771777
unless ( $additional_field ) {
17781778
$template->param( 'error' => 'Missing configured library ID field additional field "'
17791779
. $self->{config}->{library_libraryidfield}. '" <br><a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=branches">Click here to add</a>' );
1780-
$self->output_html( $template->output() );
1780+
$self->output_html( $template->output(), undef, undef, $cookie );
17811781
return;
17821782
}
17831783

@@ -1787,7 +1787,7 @@ sub list_incdocs_libraries {
17871787

17881788
if ( $response->{status} && $response->{error} ) {
17891789
$template->param( 'error' => $response->{error} . ' - ' . $response->{error_description} );
1790-
$self->output_html( $template->output() );
1790+
$self->output_html( $template->output(), undef, undef, $cookie );
17911791
return;
17921792
}
17931793

0 commit comments

Comments
 (0)