summaryrefslogtreecommitdiff
path: root/fml
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-01-18 14:05:05 +0000
committerfukachan <fukachan>2004-01-18 14:05:05 +0000
commit058690631349f815222c5b5acd38f29dca6b193f (patch)
tree249341aeae7e6de0f528a33dc36ee31b2606b378 /fml
parentbedf93094a470f2a76804ed425a76cf141266682 (diff)
downloadfml8-058690631349f815222c5b5acd38f29dca6b193f.tar.gz
fml8-058690631349f815222c5b5acd38f29dca6b193f.tar.bz2
fml8-058690631349f815222c5b5acd38f29dca6b193f.zip
add comments.
FNF: clean up style.
Diffstat (limited to 'fml')
-rw-r--r--fml/lib/FML/CGI/List.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/fml/lib/FML/CGI/List.pm b/fml/lib/FML/CGI/List.pm
index 6b406864..0e2b39fe 100644
--- a/fml/lib/FML/CGI/List.pm
+++ b/fml/lib/FML/CGI/List.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: List.pm,v 1.8 2004/01/01 23:52:09 fukachan Exp $
+# $FML: List.pm,v 1.9 2004/01/02 14:50:29 fukachan Exp $
#
package FML::CGI::List;
@@ -44,11 +44,13 @@ sub cgi_menu
use FML::Restriction::Base;
my $safe = new FML::Restriction::Base;
unless ($safe->regexp_match('ml_name', $ml_name)) {
+ # XXX-TODO: nl ?
croak("invalid ml_name");
}
# check $map_default included in $map_list.
- unless ($config->has_attribute("cgi_menu_address_map_list", $map_default)) {
+ unless ($config->has_attribute("cgi_menu_address_map_list",
+ $map_default)) {
croak("invalid map: $map_default");
}