diff --git a/circ/overdue.pl b/circ/overdue.pl index 6ccfd3cd20..e8e280fdfe 100755 --- a/circ/overdue.pl +++ b/circ/overdue.pl @@ -56,7 +56,7 @@ my $dbh = C4::Context->dbh; # download the complete CSV if ($op eq 'csv') { warn "BRANCH : $branchfilter"; - my $csv = `../misc/cronjobs/overdue_notices.pl -csv -n -b $branchfilter`; + my $csv = `../misc/cronjobs/overdue_notices.pl -csv -n -library $branchfilter`; print $input->header(-type => 'application/vnd.sun.xml.calc', -encoding => 'utf-8', -attachment=>"overdues.csv",