Author: pgil
Date: Fri Sep 6 14:56:33 2019
New Revision: 1866513
URL:
http://svn.apache.org/viewvc?rev=1866513&view=revLog:
Fix parenthesis syntax error in groovy
(OFBIZ-11186)
Thanks Samuel Trégouët for your contribution
Modified:
ofbiz/ofbiz-framework/trunk/applications/party/groovyScripts/visit/ShowVisits.groovy
ofbiz/ofbiz-framework/trunk/applications/product/groovyScripts/catalog/imagemanagement/ImageFrame.groovy
Modified: ofbiz/ofbiz-framework/trunk/applications/party/groovyScripts/visit/ShowVisits.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/groovyScripts/visit/ShowVisits.groovy?rev=1866513&r1=1866512&r2=1866513&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/party/groovyScripts/visit/ShowVisits.groovy (original)
+++ ofbiz/ofbiz-framework/trunk/applications/party/groovyScripts/visit/ShowVisits.groovy Fri Sep 6 14:56:33 2019
@@ -85,7 +85,6 @@ try {
// only commit the transaction if we started one... this will throw an exception if it fails
visitListIt.close()
TransactionUtil.commit(beganTransaction)
- }
}
context.visitList = visitList
Modified: ofbiz/ofbiz-framework/trunk/applications/product/groovyScripts/catalog/imagemanagement/ImageFrame.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/groovyScripts/catalog/imagemanagement/ImageFrame.groovy?rev=1866513&r1=1866512&r2=1866513&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/groovyScripts/catalog/imagemanagement/ImageFrame.groovy (original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/groovyScripts/catalog/imagemanagement/ImageFrame.groovy Fri Sep 6 14:56:33 2019
@@ -23,7 +23,7 @@ import org.apache.ofbiz.base.util.UtilVa
frameContentId = null
frameDataResourceId = null
-if ((session.getAttribute("frameContentId")) && (session.getAttribute("frameDataResourceId")) {
+if (session.getAttribute("frameContentId") && session.getAttribute("frameDataResourceId")) {
frameContentId = session.getAttribute("frameContentId")
frameDataResourceId = session.getAttribute("frameDataResourceId")
} else {