[Jifty-commit] r1341 - jifty/trunk/lib/Jifty/Web
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Jun 21 19:39:41 EDT 2006
Author: dpavlin
Date: Wed Jun 21 19:39:38 2006
New Revision: 1341
Modified:
jifty/trunk/lib/Jifty/Web/Form.pm
Log:
log warnings about unknown parametars to Jifty->Web->Form->start
Modified: jifty/trunk/lib/Jifty/Web/Form.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form.pm (original)
+++ jifty/trunk/lib/Jifty/Web/Form.pm Wed Jun 21 19:39:38 2006
@@ -168,7 +168,11 @@
}
for (keys %args) {
- $self->$_($args{$_}) if $self->can($_);
+ if ( $self->can($_) ) {
+ $self->$_($args{$_});
+ } else {
+ $self->log->warn("Unknown parametar to Jifty->Web->Form->start: $_");
+ }
}
my $form_start = qq!<form method="post" action="$ENV{PATH_INFO}"!;
More information about the Jifty-commit
mailing list