From: Dobrica Pavlinusic Date: Thu, 29 Mar 2012 15:56:12 +0000 (+0200) Subject: Bug 7847 - OPAC search dies with plack X-Git-Url: http://git.rot13.org/?p=koha.git;a=commitdiff_plain;h=3d621a7311771f4a4db4f6b43948e153e46e1442 Bug 7847 - OPAC search dies with plack This bug was uncovered by @mglavica during HackFest in Marseille It also showed it's ugly head during my plack presentation --- diff --git a/C4/Search.pm b/C4/Search.pm index 3794676ca6..a301b79144 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -1631,7 +1631,7 @@ sub searchResults { # Hidden items if ($is_opac) { - my @hi = GetHiddenItemnumbers($item); + my @hi = C4::Items::GetHiddenItemnumbers($item); $item->{'hideatopac'} = @hi; push @hiddenitems, @hi; }