X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=admin%2Fsmart-rules.pl;h=8e5a2d5802c40d00bef9e8c98945107ee857c5e0;hb=367c4fb8815bfe4a01869a25bcd8222989c15dcd;hp=0b8012fabc3f7d5aa46eb2e1f711a579555415c8;hpb=d5542514d22ca5b9fc6bfb4fb8b6db61e3a512b5;p=srvgit diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl index 0b8012fabc..8e5a2d5802 100755 --- a/admin/smart-rules.pl +++ b/admin/smart-rules.pl @@ -18,7 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; -#use warnings; FIXME - Bug 2505 +use warnings; use CGI; use C4::Context; use C4::Output; @@ -28,7 +28,7 @@ use C4::Debug; use C4::Branch; # GetBranches use C4::Dates qw/format_date format_date_in_iso/; -my $input = new CGI; +my $input = CGI->new; my $dbh = C4::Context->dbh; # my $flagsrequired;