[Jifty-commit] r5936 - jifty/trunk/lib/Jifty
Jifty commits
jifty-commit at lists.jifty.org
Sun Oct 12 23:47:25 EDT 2008
Author: clkao
Date: Sun Oct 12 23:47:24 2008
New Revision: 5936
Modified:
jifty/trunk/lib/Jifty/Action.pm
Log:
Do not check through default validators if we fail the valid_values check.
Modified: jifty/trunk/lib/Jifty/Action.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action.pm (original)
+++ jifty/trunk/lib/Jifty/Action.pm Sun Oct 12 23:47:24 2008
@@ -952,7 +952,8 @@
# If we have a set of allowed values, let's check that out.
if ( $value && $field_info->{valid_values} ) {
$self->_validate_valid_values($field => $value);
- # ... but still check through a validator function even if it's in the list
+ # ... but still check through a validator function even if it's in the list
+# return if $self->result->field_error($field);
}
# the validator method name is validate_$field
More information about the Jifty-commit
mailing list