From a2dc4b5f08aaa2fc8237540e532eccdc5976dbe6 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sat, 24 Oct 2020 09:45:38 -0400 Subject: [PATCH] handle params.daa not existing --- web/skins/classic/views/js/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/skins/classic/views/js/events.js b/web/skins/classic/views/js/events.js index 90bce5f5f..442eca616 100644 --- a/web/skins/classic/views/js/events.js +++ b/web/skins/classic/views/js/events.js @@ -35,7 +35,7 @@ var params = // Called by bootstrap-table to retrieve zm event data function ajaxRequest(params) { - if ( params.data.filter ) { + if ( params.data && params.data.filter ) { params.data.advsearch = params.data.filter; delete params.data.filter; }