https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29437
--- Comment #21 from Marcel de Rooy <[email protected]> --- This is the most minimal maintenance solution I could come up with for 20.11: diff --git a/C4/Breeding.pm b/C4/Breeding.pm index 6b103b3..5b0d83a 100644 --- a/C4/Breeding.pm +++ b/C4/Breeding.pm @@ -96,6 +96,7 @@ sub BreedingSearch { $query .= "isbn like ?"; push(@bind,"$isbn%"); } + return 0 unless @bind; $sth = $dbh->prepare($query); $sth->execute(@bind); while (my $data = $sth->fetchrow_hashref) { Since Koha returns a 200, it only gives you a few log lines less. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
