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:
parent
9ec18eedec
commit
d40eaab6d3
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue