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
|
|
@ -17,6 +17,7 @@
|
|||
- Fixed a typo in Forum/UI.pm
|
||||
- bugfix [ 996284 ] Compile error in macro.pm
|
||||
- bugfix [ 997918 ] Default value in profile not working
|
||||
- bugfix [ 997916 ] Bug and solution in File.pm
|
||||
|
||||
6.1.1
|
||||
- bugfix [ 991313 ] Manage Translations doesn't work
|
||||
|
|
|
|||
|
|
@ -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