diff options
| author | fukachan <fukachan> | 2004-01-01 08:41:09 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2004-01-01 08:41:09 +0000 |
| commit | 182d9ae3bf62ee6fb6316190b3758f874b725c00 (patch) | |
| tree | fa630a651d23486a70ed9cf64cd262965f12a7c8 /fml/lib | |
| parent | 77cafd0918f2a8081ef10eb6903f723d8c40152d (diff) | |
| download | fml8-182d9ae3bf62ee6fb6316190b3758f874b725c00.tar.gz fml8-182d9ae3bf62ee6fb6316190b3758f874b725c00.tar.bz2 fml8-182d9ae3bf62ee6fb6316190b3758f874b725c00.zip | |
fix: cgi_var_cgi_mode() return null string by default.
Diffstat (limited to 'fml/lib')
| -rw-r--r-- | fml/lib/FML/Process/CGI/Utils.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fml/lib/FML/Process/CGI/Utils.pm b/fml/lib/FML/Process/CGI/Utils.pm index 3dc42106..ed509482 100644 --- a/fml/lib/FML/Process/CGI/Utils.pm +++ b/fml/lib/FML/Process/CGI/Utils.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Utils.pm,v 1.7 2003/10/16 14:06:57 fukachan Exp $ +# $FML: Utils.pm,v 1.8 2003/10/17 08:16:27 fukachan Exp $ # package FML::Process::CGI::Utils; @@ -179,7 +179,7 @@ sub cgi_var_cgi_mode my ($curproc) = @_; my $hints = $curproc->hints(); - return $hints->{ cgi_mode }; + return( $hints->{ cgi_mode } || '' ); } |
