Compare commits
2 Commits
de58d9dc61
...
10236d5705
Author | SHA1 | Date | |
---|---|---|---|
|
10236d5705 | ||
33d98904e2 |
@ -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'}) {
|
if (exists $$config{'id'} && $$config{'id'} ne "") {
|
||||||
$padded_index = sprintf("%04d", $$config{'id'});
|
$padded_index = sprintf("%04d", $$config{'id'});
|
||||||
}
|
}
|
||||||
$filename =~ s/\[id\]/$padded_index/;
|
$filename =~ s/\[id\]/$padded_index/;
|
||||||
|
Reference in New Issue
Block a user