webgui/lib/WebGUI/Macro/FormParam.pm
JT Smith 6944fe3316 - fix [ 1381694 ] Unable to reset votes on poll
- fix [ 1381309 ] FormParam macro returns always undef
 - fix [ 1379595 ] http proxy broken
 - fix [ 1379060 ] Unable to view subscription codes
2005-12-16 16:28:21 +00:00

23 lines
767 B
Perl

package WebGUI::Macro::FormParam;
#-------------------------------------------------------------------
# WebGUI is Copyright 2001-2005 Plain Black Corporation.
#-------------------------------------------------------------------
# Please read the legal notices (docs/legal.txt) and the license
# (docs/license.txt) that came with this distribution before using
# this software.
#-------------------------------------------------------------------
# http://www.plainblack.com info@plainblack.com
#-------------------------------------------------------------------
use strict;
use WebGUI::Session;
#-------------------------------------------------------------------
sub process {
return $session{req}->param(shift) if ($session{req});
}
1;