X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=labels%2Flabel-create-csv.pl;h=1b0c02c97a3f493dab09624448cb12566b41bb08;hb=083f90cc44c4c02d544a55feb321c07d4e44f86c;hp=1229c0a484887ad6def44a932729f8090311f4e0;hpb=130e3d9c108fb35955ab9a9944e16946537aafe9;p=koha.git diff --git a/labels/label-create-csv.pl b/labels/label-create-csv.pl index 1229c0a484..1b0c02c97a 100755 --- a/labels/label-create-csv.pl +++ b/labels/label-create-csv.pl @@ -72,7 +72,6 @@ else { my $csv = Text::CSV_XS->new(); -CSV_ITEMS: foreach my $item (@$items) { my $label = C4::Labels::Label->new( batch_id => $batch_id, @@ -85,11 +84,10 @@ foreach my $item (@$items) { } else { warn sprintf('Text::CSV_XS->combine() returned the following error: %s', $csv->error_input); - next CSV_ITEMS; } } -exit(1); +__END__ =head1 NAME @@ -122,3 +120,4 @@ Fifth Floor, Boston, MA 02110-1301 USA. Koha is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. +=cut