default estimated hit count to 0 to protect against null counts in the case of a...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 22 Apr 2008 14:35:50 +0000 (14:35 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 22 Apr 2008 14:35:50 +0000 (14:35 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@9424 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm

index 9f66cde..8228f69 100644 (file)
@@ -708,7 +708,7 @@ sub staged_search {
     # fulfill the user-specified limit and offset
     my $all_results = [];
     my $page; # current superpage
-    my $est_hit_count;
+    my $est_hit_count = 0;
 
     for($page = 0; $page < $SEARCH_PAGES; $page++) {