Bug 9108: Followup: send the dateformat value from C4::Auth
[koha.git] / reports / borrowers_stats.pl
index c17a326..6fab3a4 100755 (executable)
@@ -107,7 +107,7 @@ if ($do_it) {
                }
                print $sep.@$results[0]->{total};
        }
-       exit(1);        # exit after do_it, regardless
+       exit;   # exit after do_it, regardless
 } else {
        my $dbh = C4::Context->dbh;
        my $req;
@@ -140,7 +140,6 @@ if ($do_it) {
        $template->param(
                CGIextChoice => $CGIextChoice,
                CGIsepChoice => $CGIsepChoice,
-               DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(),
     );
 
 }