Bugfix [ 997916 ] Bug and solution in File.pm

This commit is contained in:
Len Kranendonk 2004-07-26 10:03:05 +00:00
parent bc2e8b649e
commit dea9d9f487
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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;