Bug 21395: Fix creation of PO file

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 133a3ef168)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Julian Maurice 2020-06-29 16:57:11 +04:00 committed by Lucas Gass
parent 9ec18eedec
commit d40eaab6d3
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ if ($action eq 'create') {
open(my $infh, '<', $tmpfile2);
open(my $outfh, '>', $str_file);
while (<$infh>) {
print $outfh;
print $outfh $_;
last if /^\n/s;
}
close $infh;