Bug 16960 - Patron::Modifications should be fixed
[koha-equinox.git] / mainpage.pl
index d9e01b7..f4efc65 100755 (executable)
@@ -65,8 +65,7 @@ my $branch =
 my $pendingcomments    = numberofreviews(0);
 my $pendingtags        = get_count_by_tag_status(0);
 my $pendingsuggestions = CountSuggestion("ASKED");
-my $pending_borrower_modifications =
-  Koha::Patron::Modifications->GetPendingModificationsCount( $branch );
+my $pending_borrower_modifications = Koha::Patron::Modifications->pending_count( $branch );
 my $pending_discharge_requests = Koha::Patron::Discharge::count({ pending => 1 });
 
 $template->param(