Fixing method addResult() in SimpleCallout
authorAdrián Romero <adrianromero@openbravo.com>
Tue, 23 Mar 2010 17:29:26 +0100
changeset 6871 be80945ca684
parent 6870 5957f8e78ad1
child 6872 c4ac0459ec41
Fixing method addResult() in SimpleCallout
src/org/openbravo/erpCommon/ad_callouts/SimpleCallout.java
--- a/src/org/openbravo/erpCommon/ad_callouts/SimpleCallout.java	Tue Mar 23 17:36:39 2010 +0100
+++ b/src/org/openbravo/erpCommon/ad_callouts/SimpleCallout.java	Tue Mar 23 17:29:26 2010 +0100
@@ -297,8 +297,8 @@
      *          The value to assign to the field.
      */
     public void addResult(String param, String value) {
-      addResult(param, (Object) value == null ? null : "\"" + FormatUtilities.replaceJS(value)
-          + "\"");
+      addResult(param, (Object) (value == null ? null : "\"" + FormatUtilities.replaceJS(value)
+          + "\""));
     }
   }
 }