Archived
4
2

Compare commits

..

No commits in common. "10236d57054227781d1983e63b153c719cb94e19" and "de58d9dc61b3f87dec2a1af1ab32fbcc10f8ce61" have entirely different histories.

View File

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