Author: byersa
Date: Wed Feb 7 23:51:44 2007
New Revision: 504815
URL:
http://svn.apache.org/viewvc?view=rev&rev=504815Log:
Made a simple fix in evalPermission.
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java?view=diff&rev=504815&r1=504814&r2=504815==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java Wed Feb 7 23:51:44 2007
@@ -780,7 +780,7 @@
if (UtilValidate.isNotEmpty(this.permissionMainAction)) {
ctx.put("mainAction", this.permissionMainAction);
}
- if (UtilValidate.isNotEmpty(this.permissionMainAction)) {
+ if (UtilValidate.isNotEmpty(this.permissionResourceDescription)) {
ctx.put("resourceDescription", this.permissionResourceDescription);
} else if (thisService != null) {
ctx.put("resourceDescription", thisService.name);