X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=updatebiblio.pl;h=c8a607d0bdb0dbe7c5146346efe522345873893a;hb=ef3a55706ccbc89c576e85b91166ba64db207c79;hp=ed4a2c57f7af20569aa423ead2e3793d468b49d8;hpb=ae9610209601dc1dca9c4dc625f579f29653e690;p=koha.git diff --git a/updatebiblio.pl b/updatebiblio.pl index ed4a2c57f7..c8a607d0bd 100755 --- a/updatebiblio.pl +++ b/updatebiblio.pl @@ -54,12 +54,11 @@ my @names; my $count; my $error; -&modbiblio($biblio); &modsubtitle($bibnum, $subtitle); &modaddauthor($bibnum, $addauthor); $subject = uc($subject); -@sub = split(/\|/, $subject); +@sub = split(/\||\n/, $subject); $count = @sub; for (my $i = 0; $i < $count; $i++) { @@ -68,6 +67,8 @@ for (my $i = 0; $i < $count; $i++) { $error = &modsubject($bibnum,$force,@sub); +&modbiblio($biblio); + if ($error ne ''){ my ($template, $loggedinuser, $cookie) = get_template_and_user({ template_name => "updatebiblio.tmpl",