[Jifty-commit] r1340 - jifty/trunk/lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Jun 21 19:23:10 EDT 2006
Author: dpavlin
Date: Wed Jun 21 19:23:06 2006
New Revision: 1340
Modified:
jifty/trunk/lib/Jifty/Action.pm
Log:
tab -> whitescape fix
Modified: jifty/trunk/lib/Jifty/Action.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action.pm (original)
+++ jifty/trunk/lib/Jifty/Action.pm Wed Jun 21 19:23:06 2006
@@ -76,13 +76,13 @@
arguments => {},
sticky_on_success => 0,
sticky_on_failure => 1,
- current_user => undef,
+ current_user => undef,
@_);
if ($args{'current_user'}) {
- $self->current_user($args{current_user});
+ $self->current_user($args{current_user});
} else {
- $self->_get_current_user();
+ $self->_get_current_user();
}
if ($args{'moniker'}) {
@@ -175,16 +175,16 @@
unless ($self->result->success) {
$self->log->debug("Not taking action, as it doesn't validate");
- # dump field warnings and errors to debug log
- foreach my $what (qw/warnings errors/) {
- my $f = "field_" . $what;
- my @r =
- map {
- $_ . ": " . $self->result->{$f}->{$_}
- } grep { $self->result->{$f}->{$_} }
- keys %{ $self->result->{$f} };
- $self->log->debug("Action result $what:\n\t", join("\n\t", @r)) if (@r);
- }
+ # dump field warnings and errors to debug log
+ foreach my $what (qw/warnings errors/) {
+ my $f = "field_" . $what;
+ my @r =
+ map {
+ $_ . ": " . $self->result->{$f}->{$_}
+ } grep { $self->result->{$f}->{$_} }
+ keys %{ $self->result->{$f} };
+ $self->log->debug("Action result $what:\n\t", join("\n\t", @r)) if (@r);
+ }
return;
}
More information about the Jifty-commit
mailing list