[Jifty-commit] r850 - jifty/trunk/lib/Jifty/Web
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Apr 12 21:19:02 EDT 2006
Author: autrijus
Date: Wed Apr 12 21:19:02 2006
New Revision: 850
Modified:
jifty/trunk/lib/Jifty/Web/Form.pm
Log:
* Jifty::Web::Form - change the "warning" call to $self->log->warn
Modified: jifty/trunk/lib/Jifty/Web/Form.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form.pm (original)
+++ jifty/trunk/lib/Jifty/Web/Form.pm Wed Apr 12 21:19:02 2006
@@ -149,7 +149,7 @@
my %args = (@_);
if ($self->is_open) {
- warn("Trying to open a form when we already have one open");
+ $self->log->warn("Trying to open a form when we already have one open");
}
for (keys %args) {
@@ -196,7 +196,7 @@
my $self = shift;
unless ($self->is_open) {
- warn("Trying to close a form when we don't have one open");
+ $self->log->warn("Trying to close a form when we don't have one open");
}
Jifty->web->out( qq!<div class="hidden">\n! );
More information about the Jifty-commit
mailing list