Fix deprecated syntaxe warning for qw()

This commit is contained in:
Daniel Berteaud 2015-10-29 14:28:50 +01:00
parent 5ad8e47eb7
commit 6c92f49417
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@
data-toggle="tooltip"
data-placement="bottom"
title="<%= l('ITEM_PER_PAGE') %>">
% foreach my $i qw(20 40 80 150 300){
% for my $i (qw(20 40 80 150 300)){
<option value="<%= $i %>"
%== ($i == 20) ? 'selected="selected">' : '>'
%= $i

View File

@ -25,7 +25,7 @@
data-toggle="tooltip"
data-placement="bottom"
title="<%= l('ITEM_PER_PAGE') %>">
% foreach my $i qw(20 40 80 150 300){
% for my $i (qw(20 40 80 150 300)){
<option value="<%= $i %>"
%== ($i == 20) ? 'selected="selected">' : '>'
%= $i