Author: jaz
Date: Thu Jun 4 17:31:07 2009
New Revision: 781802
URL:
http://svn.apache.org/viewvc?rev=781802&view=revLog:
fixed NPE reported by Hans
Modified:
ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java
Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java?rev=781802&r1=781801&r2=781802&view=diff==============================================================================
--- ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java (original)
+++ ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java Thu Jun 4 17:31:07 2009
@@ -1220,7 +1220,7 @@
} else {
pathInfo = null;
}
- if (pathInfo != null & pathInfo.indexOf("/") > -1) {
+ if (pathInfo != null && pathInfo.indexOf("/") > -1) {
pathParsed = pathInfo.split("/");
communicationEventId = pathParsed[0];
}