Bugfix [ 997916 ] Bug and solution in File.pm
This commit is contained in:
parent
bc2e8b649e
commit
dea9d9f487
2 changed files with 2 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ use WebGUI::Template;
|
|||
#-------------------------------------------------------------------
|
||||
sub process {
|
||||
my @param = WebGUI::Macro::getParams($_[0]);
|
||||
my %var;
|
||||
if (my $collateral = WebGUI::Collateral->find($param[0])) {
|
||||
$var{'file.url'} = $collateral->getURL;
|
||||
$var{'file.icon'} = $collateral->getIcon;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue