From 23d48765bd9798041598b5eb0a211b5d36102d6a Mon Sep 17 00:00:00 2001 From: Baptiste Wojtkowski Date: Wed, 28 Jun 2017 15:35:11 +0000 Subject: [PATCH] Bug 18618: Correct Plack issues Split one command line into two in order to be accepted by Plack --- opac/svc/mana/getSuggestion | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opac/svc/mana/getSuggestion b/opac/svc/mana/getSuggestion index 682b867..9c33985 100755 --- a/opac/svc/mana/getSuggestion +++ b/opac/svc/mana/getSuggestion @@ -74,7 +74,8 @@ if ( $local_suggestions and DateTime::Duration->compare( ($now - $timestamp), DU delete $local_suggestions->{timestamp}; delete $local_suggestions->{biblionumber}; foreach my $key ( sort keys %{ $local_suggestions }){ - push @biblios, Koha::Biblios->find( $local_suggestions->{ $key } ); + my $biblio = Koha::Biblios->find( $local_suggestions->{ $key } ); + push @biblios, $biblio->unblessed() if $biblio; } } -- 2.7.4