[Bps-public-commit] r17609 - RT-FormTools/lib/RT/Extension
clkao at bestpractical.com
clkao at bestpractical.com
Wed Jan 7 04:08:03 EST 2009
Author: clkao
Date: Wed Jan 7 04:08:03 2009
New Revision: 17609
Modified:
RT-FormTools/lib/RT/Extension/FormTools.pm
Log:
properly skip validating multis.
Modified: RT-FormTools/lib/RT/Extension/FormTools.pm
==============================================================================
--- RT-FormTools/lib/RT/Extension/FormTools.pm (original)
+++ RT-FormTools/lib/RT/Extension/FormTools.pm Wed Jan 7 04:08:03 2009
@@ -40,7 +40,7 @@
if ($ARGSRef->{"${field}s-Magic"} and exists $ARGSRef->{"${field}s"}) {
$value = $ARGSRef->{"${field}s"};
# We only validate Single Combos -- multis can never be user input
- next if ref $value;
+ return ($valid) if ref $value;
}
else {
$value = $ARGSRef->{$field};
More information about the Bps-public-commit
mailing list