diff options
Diffstat (limited to 'globals.pl')
-rw-r--r-- | globals.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/globals.pl b/globals.pl index 771d81b31..aef84f2a6 100644 --- a/globals.pl +++ b/globals.pl @@ -1474,7 +1474,8 @@ sub FormatTimeUnit { # Constructs a format object from URL parameters. You most commonly call it # like this: -# my $format = GetFormat("foo/bar", $::FORM{'format'}, $::FORM{'ctype'}); +# my $format = GetFormat("foo/bar", scalar($cgi->param('format')), +# scalar($cgi->param('ctype'))); sub GetFormat { my ($template, $format, $ctype) = @_; |