From: Leon T. <le...@ea...> - 2008-03-05 21:14:35
|
Author: leon Date: 2008-03-05 13:14:39 -0800 (Wed, 05 Mar 2008) New Revision: 966 Modified: versions/0.9/trunk/webapp/financials/WEB-INF/actions/configuration/updateGlAccount.bsh Log: removing a method call which did not exist in this version of opentaps, thus saving the universe from time travel Modified: versions/0.9/trunk/webapp/financials/WEB-INF/actions/configuration/updateGlAccount.bsh =================================================================== --- versions/0.9/trunk/webapp/financials/WEB-INF/actions/configuration/updateGlAccount.bsh 2008-03-05 21:05:13 UTC (rev 965) +++ versions/0.9/trunk/webapp/financials/WEB-INF/actions/configuration/updateGlAccount.bsh 2008-03-05 21:14:39 UTC (rev 966) @@ -24,7 +24,7 @@ context.put("glAccount", glAccount); parentGlAccount = delegator.findByPrimaryKey("GlAccount", UtilMisc.toMap("glAccountId", parameters.get("parentGlAccountId"))); -if (UtilValidate.isNotEmpty(parentGlAccount)) { +if (parentGlAccount != null) { context.put("defaultGlAccountTypeId", parentGlAccount.get("glAccountTypeId")); context.put("defaultGlAccountClassId", parentGlAccount.get("glAccountClassId")); context.put("defaultAccountCode", parentGlAccount.get("accountCode")); |