fix: Matrix and fixed a bug in fileUpload.pl
This commit is contained in:
parent
6ceb0ff0be
commit
9de3c465a7
3 changed files with 109 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ sub addFiles {
|
|||
# TB : add the path relative to $pathToFile in the message.
|
||||
print "\tAdding ".$file->{relpath}.$slash.$file->{filename}." to the database.\n" unless ($quiet);
|
||||
my $templateId = 'PBtmpl0000000000000024';
|
||||
if (isIn($file->{ext},@nailable)) {
|
||||
if (isIn(lc($file->{ext}),@nailable)) {
|
||||
$class = 'WebGUI::Asset::File::Image';
|
||||
$templateId = 'PBtmpl0000000000000088'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue