Fixes a bug, and get rid of some more bsh scriptlets

2015-01-23 18:19:10,216 |http-bio-8443-exec-6 |FlexibleStringExpander        |W| Error evaluating scriptlet [${bsh:isPromo!=null&&isPromo.equals("Y")}]; error was: java.lang.IllegalArgumentException: Error ru
nning bsh script [isPromo!=null&&isPromo.equals("Y")]: javax.script.ScriptException: Sourced file: inline evaluation of: ``isPromo!=null&&isPromo.equals("Y");'' : Attempt to resolve method: equals() on undefi
ned variable or class name: isPromo : at Line: 1 : in file: inline evaluation of: ``isPromo!=null&&isPromo.equals("Y");'' : isPromo .equals ( "Y" )

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654273 13f79535-47bb-0310-9956-ffa450edef68
2 files changed