From dc688c5f925e0c24007d964b418a76c4ab74bf71 Mon Sep 17 00:00:00 2001 From: Javier Pastor Date: Wed, 9 Mar 2022 22:33:47 +0100 Subject: [PATCH] fix undefinded chart_defaultfilter --- src/statistics.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/statistics.php b/src/statistics.php index aaa9932..1f33274 100644 --- a/src/statistics.php +++ b/src/statistics.php @@ -106,7 +106,7 @@ if ( isset($content['Charts']) ) // --- // --- Set Chart default Filterstring - if ( strlen($myChart['chart_defaultfilter']) > 0 ) + if ( isset($myChart['chart_defaultfilter']) && strlen($myChart['chart_defaultfilter']) > 0 ) $myChart['chart_defaultfilter_urldecoded'] = urlencode($myChart['chart_defaultfilter']); else $myChart['chart_defaultfilter_urldecoded'] = ""; @@ -159,4 +159,4 @@ $page -> output(); //include($gl_root_path . 'include/functions_installhelpers.php'); //ConvertCustomCharts(); -?> \ No newline at end of file +?>