Skip to content

Commit

Permalink
Fix parenthesis syntax error in groovy
Browse files Browse the repository at this point in the history
(OFBIZ-11186)

Thanks Samuel Trégouët for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1866513 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
gilPts committed Sep 6, 2019
1 parent 7639112 commit 8e9df02
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion applications/party/groovyScripts/visit/ShowVisits.groovy
Expand Up @@ -85,7 +85,6 @@ try {
// only commit the transaction if we started one... this will throw an exception if it fails // only commit the transaction if we started one... this will throw an exception if it fails
visitListIt.close() visitListIt.close()
TransactionUtil.commit(beganTransaction) TransactionUtil.commit(beganTransaction)
}
} }


context.visitList = visitList context.visitList = visitList
Expand Down
Expand Up @@ -23,7 +23,7 @@ import org.apache.ofbiz.base.util.UtilValidate
frameContentId = null frameContentId = null
frameDataResourceId = null frameDataResourceId = null


if ((session.getAttribute("frameContentId")) && (session.getAttribute("frameDataResourceId")) { if (session.getAttribute("frameContentId") && session.getAttribute("frameDataResourceId")) {
frameContentId = session.getAttribute("frameContentId") frameContentId = session.getAttribute("frameContentId")
frameDataResourceId = session.getAttribute("frameDataResourceId") frameDataResourceId = session.getAttribute("frameDataResourceId")
} else { } else {
Expand Down

0 comments on commit 8e9df02

Please sign in to comment.