Bug 18789: (QA follow-up) Use is_child in circulation.pl
[koha.git] / circ / reserveratios.pl
index 5d87cd1..104928a 100755 (executable)
@@ -18,8 +18,7 @@
 # You should have received a copy of the GNU General Public License
 # along with Koha; if not, see <http://www.gnu.org/licenses>.
 
-use strict;
-use warnings;
+use Modern::Perl;
 
 use CGI qw ( -utf8 );
 use Date::Calc qw/Today Add_Delta_YM/;
@@ -56,7 +55,7 @@ if ($booksellerid && $basketno) {
      $template->param( booksellerid => $booksellerid, basketno => $basketno );
 }
 
-my $effective_create_items;
+my $effective_create_items = q{};
 if ( $basketno ){
     my $basket = Koha::Acquisition::Baskets->find( $basketno );
     if ($basket){