svn commit: r578245 - /ofbiz/branches/release4.0/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizCurrencyTransform.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r578245 - /ofbiz/branches/release4.0/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizCurrencyTransform.java

jleroux@apache.org
Author: jleroux
Date: Fri Sep 21 12:53:22 2007
New Revision: 578245

URL: http://svn.apache.org/viewvc?rev=578245&view=rev
Log:
Applied fix from trunk for revision: 571020

Modified:
    ofbiz/branches/release4.0/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizCurrencyTransform.java

Modified: ofbiz/branches/release4.0/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizCurrencyTransform.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizCurrencyTransform.java?rev=578245&r1=578244&r2=578245&view=diff
==============================================================================
--- ofbiz/branches/release4.0/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizCurrencyTransform.java (original)
+++ ofbiz/branches/release4.0/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizCurrencyTransform.java Fri Sep 21 12:53:22 2007
@@ -66,12 +66,12 @@
     private static Double getAmount(Map args, String key) {
         if (args.containsKey(key)) {
             Object o = args.get(key);
-            if (Debug.verboseOn()) Debug.logVerbose("Amount Object : " + o.getClass().getName(), module);
 
             // handle nulls better
             if (o == null) {
                 o = new Double(0.00);
             }
+            if (Debug.verboseOn()) Debug.logVerbose("Amount Object : " + o.getClass().getName(), module);
 
             if (o instanceof NumberModel) {
                 NumberModel s = (NumberModel) o;