didn't work with new Macro::Process

This commit is contained in:
Len Kranendonk 2003-02-28 15:00:44 +00:00
parent e6ae7f1e30
commit 60f41a83b9
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ use WebGUI::Session;
#-------------------------------------------------------------------
sub process {
my @param = WebGUI::Macro::getParams($1);
my @param = WebGUI::Macro::getParams($_[0]);
return $session{form}{$param[0]};
}

View file

@ -19,7 +19,7 @@ sub process {
my ($temp, @param);
@param = WebGUI::Macro::getParams($_[0]);
if ($param[0] ne "") {
$temp = round(rand()*$1);
$temp = round(rand()*$param[0]);
} else {
$temp = round(rand()*1000000000);
}