Author: ashish
Date: Fri Mar 26 09:04:06 2010
New Revision: 927739
URL:
http://svn.apache.org/viewvc?rev=927739&view=revLog:
Corrected the condition.
Thanks Arun!
Modified:
ofbiz/trunk/applications/content/src/org/ofbiz/content/survey/SurveyWrapper.java
Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/survey/SurveyWrapper.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/survey/SurveyWrapper.java?rev=927739&r1=927738&r2=927739&view=diff==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/survey/SurveyWrapper.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/survey/SurveyWrapper.java Fri Mar 26 09:04:06 2010
@@ -264,7 +264,7 @@ public class SurveyWrapper {
}
GenericValue survey = this.getSurvey();
- if (!"Y".equals(survey.getString("allowMultiple")) || !"Y".equals(survey.getString("allowUpdate"))) {
+ if (!"Y".equals(survey.getString("allowMultiple")) && !"Y".equals(survey.getString("allowUpdate"))) {
return false;
}
return true;