Author: lektran
Date: Mon Aug 25 23:07:15 2008
New Revision: 688968
URL:
http://svn.apache.org/viewvc?rev=688968&view=revLog:
Another groovy fix
Modified:
ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy
Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy?rev=688968&r1=688967&r2=688968&view=diff==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy Mon Aug 25 23:07:15 2008
@@ -509,7 +509,7 @@
}
if (canIncludeService && constraintName.equals("alpha")) {
- canIncludeService = (serviceName.charAt(0)+"").equals(constraintVal);
+ canIncludeService = (serviceName[0]).equals(constraintVal);
if (constraintVal.equals("NA")) {
canIncludeService = true;
}