Fix generation of series general page

This commit is contained in:
Roan Horning 2022-08-19 21:25:14 -04:00
parent 02eb8313d3
commit b36293e52f
Signed by untrusted user: rho_n
GPG Key ID: 234AEF20B72D5769

View File

@ -266,7 +266,7 @@ sub get_filename {
else {
$filename = $$config{'filename'};
my $padded_index = "";
if ($$config{'id'}) {
if (exists $$config{'id'}) {
$padded_index = sprintf("%04d", $$config{'id'});
}
$filename =~ s/\[id\]/$padded_index/;