diff options
Diffstat (limited to 'forms')
-rw-r--r-- | forms/qa/integration/forms/FormControlTest.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/forms/qa/integration/forms/FormControlTest.java b/forms/qa/integration/forms/FormControlTest.java index 7fdf68dea796..6c455a8064f4 100644 --- a/forms/qa/integration/forms/FormControlTest.java +++ b/forms/qa/integration/forms/FormControlTest.java @@ -679,10 +679,12 @@ public class FormControlTest extends complexlib.ComplexTestCase implements XSQLE { try { - if ( fieldName.equals( "f_time" ) ) + if ( ( "f_time" ).equals(fieldName) ) // http://bugs.mysql.com/bug.php?id=5681 return true; - + if (fieldName == null) { + return false; + } int currentValue = ((Integer)getControlModel( fieldName ).getPropertyValue( propertyName )).intValue(); if ( currentValue != requiredValue ) { |