Bug 9659 - QA Follow up: Unit tests
[koha.git] / serials / serials-edit.pl
index bb87c5f..66d3a4e 100755 (executable)
@@ -151,6 +151,7 @@ foreach my $serialid (@serialids) {
             )
             || $serinfo->{'cannotedit'}
         );
+        $serinfo->{editdisable} ||= ($serinfo->{status8} and $serinfo->{closed});
         push @serialdatalist, $serinfo;
         $processedserialid{$serialid} = 1;
     }