# Suite 330, Boston, MA 02111-1307 USA
use strict;
-require Exporter;
+
use CGI;
use C4::Auth;
$template->param(
pagination_bar => pagination_bar(
- $base_url, int( $total / $resultsperpage ) + 1,
+ $base_url, getnbpages( $total, $resultsperpage ),
$startfrom, 'startfrom'
),
total => $total,