merging bugfixes from branch to head
This commit is contained in:
parent
7571dbca39
commit
d4a5320e0a
3 changed files with 5 additions and 3 deletions
|
|
@ -540,7 +540,7 @@ sub getFileIconUrl {
|
|||
my $filename = shift;
|
||||
my $extension = $self->getFileExtension($filename);
|
||||
my $path = $self->session->config->get("extrasPath").'/fileIcons/'.$extension.".gif";
|
||||
if (-e $path) {
|
||||
if (-e $path && $extension) {
|
||||
return $self->session->url->extras("fileIcons/".$extension.".gif");
|
||||
}
|
||||
return $self->session->url->extras("fileIcons/unknown.gif");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue