X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=C4%2FReports.pm;h=ef1f00417eb50400204046de01adf48ae13dc795;hb=eded6edacc5e3bf8dd0be21ed05842c3b78aadce;hp=83e6f4c07619529a215520b7e4b2f86eb4aabc35;hpb=017699c345725ea7012f1b84181dc053e20efd98;p=koha-ffzg.git diff --git a/C4/Reports.pm b/C4/Reports.pm index 83e6f4c076..ef1f00417e 100644 --- a/C4/Reports.pm +++ b/C4/Reports.pm @@ -17,19 +17,16 @@ package C4::Reports; # You should have received a copy of the GNU General Public License # along with Koha; if not, see . -use strict; -#use warnings; FIXME - Bug 2505 +use Modern::Perl; use CGI qw ( -utf8 ); -use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); use C4::Context; -use C4::Debug; +our (@ISA, @EXPORT_OK); BEGIN { - # set the version for version checking require Exporter; @ISA = qw(Exporter); - @EXPORT = qw( + @EXPORT_OK = qw( GetDelimiterChoices ); } @@ -58,7 +55,7 @@ sub GetDelimiterChoices { my $sth = $dbh->prepare(" SELECT options, value FROM systempreferences - WHERE variable = 'delimiter' + WHERE variable = 'CSVDelimiter' "); $sth->execute();