[Rt-commit] r3418 - rt/branches/CHALDEA-EXPERIMENTAL/html/Elements
autrijus at bestpractical.com
autrijus at bestpractical.com
Thu Jul 7 19:56:55 EDT 2005
Author: autrijus
Date: Thu Jul 7 19:56:54 2005
New Revision: 3418
Modified:
rt/branches/CHALDEA-EXPERIMENTAL/html/Elements/ValidateCustomFields
Log:
* Fix misvalidation for single input fields.
Modified: rt/branches/CHALDEA-EXPERIMENTAL/html/Elements/ValidateCustomFields
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/html/Elements/ValidateCustomFields (original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/html/Elements/ValidateCustomFields Thu Jul 7 19:56:54 2005
@@ -6,7 +6,7 @@
my $field = $NamePrefix . $CF->Id . "-Value";
my $value;
- if ($ARGSRef->{"${field}s-Magic"}) {
+ 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
More information about the Rt-commit
mailing list