X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=serials%2Fserials-edit.pl;h=66d3a4eedd3f6b186efe41091c081505ee193751;hb=fb8aa63f9d9f56bf80ffab7b6e45b8cadb66ddf4;hp=bb87c5f9223d9ca2b88ba2edfc41621a9e676c06;hpb=be12aa96094ab003949c78e8246db56027931cac;p=koha_fer diff --git a/serials/serials-edit.pl b/serials/serials-edit.pl index bb87c5f922..66d3a4eedd 100755 --- a/serials/serials-edit.pl +++ b/serials/serials-edit.pl @@ -151,6 +151,7 @@ foreach my $serialid (@serialids) { ) || $serinfo->{'cannotedit'} ); + $serinfo->{editdisable} ||= ($serinfo->{status8} and $serinfo->{closed}); push @serialdatalist, $serinfo; $processedserialid{$serialid} = 1; }