File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/android/nl/xservices/plugins Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 33 xmlns =" http://apache.org/cordova/ns/plugins/1.0"
44 xmlns : android =" http://schemas.android.com/apk/res/android"
55 id =" nl.x-services.plugins.calendar"
6- version =" 4.2.5 " >
6+ version =" 4.2.6 " >
77
88 <name >Calendar</name >
99
Original file line number Diff line number Diff line change @@ -163,8 +163,8 @@ private boolean findEvents(JSONArray args) {
163163 try {
164164 JSONObject jsonFilter = args .getJSONObject (0 );
165165 JSONArray jsonEvents = getCalendarAccessor ().findEvents (
166- jsonFilter .optString ("title" ),
167- jsonFilter .optString ("location" ),
166+ jsonFilter .isNull ( "title" ) ? null : jsonFilter . optString ("title" ),
167+ jsonFilter .isNull ( "location" ) ? null : jsonFilter . optString ("location" ),
168168 jsonFilter .optLong ("startTime" ),
169169 jsonFilter .optLong ("endTime" ));
170170
You can’t perform that action at this time.
0 commit comments