svn commit: r696677 - /ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/routing/EditCalendar.groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r696677 - /ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/routing/EditCalendar.groovy

bibryam
Author: bibryam
Date: Thu Sep 18 08:44:55 2008
New Revision: 696677

URL: http://svn.apache.org/viewvc?rev=696677&view=rev
Log:
Fixed a bug in calendar screen, reported by ChristopherJ in user list.

Modified:
    ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/routing/EditCalendar.groovy

Modified: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/routing/EditCalendar.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/routing/EditCalendar.groovy?rev=696677&r1=696676&r2=696677&view=diff
==============================================================================
--- ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/routing/EditCalendar.groovy (original)
+++ ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/routing/EditCalendar.groovy Thu Sep 18 08:44:55 2008
@@ -33,7 +33,12 @@
 }
 
 calendarData = context.techDataCalendar;
-if (!tryEntity) calendarData = requestParams ?: [:];
+if (!tryEntity) {
+    calendarData = requestParams ?: [:];
+}
+if (!calendarData) {
+    calendarData = [:];
+}
 context.calendarData = calendarData;
 
 allCalendarWeek = delegator.findList("TechDataCalendarWeek", null, null, null, null, false);