Skip to content
Snippets Groups Projects
Commit 617ca279 authored by srosse's avatar srosse
Browse files

OO-3162: don't update UID if there is not an UID

parent 21b8c4f6
No related branches found
No related tags found
No related merge requests found
......@@ -437,8 +437,10 @@ public class ICalServlet extends HttpServlet {
if (comp instanceof VEvent) {
VEvent event = (VEvent)comp;
Uid uid = event.getUid();
String newUid = prefix.concat(uid.getValue());
uid.setValue(newUid);
if(uid != null) {
String newUid = prefix.concat(uid.getValue());
uid.setValue(newUid);
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment