N°4959 - Chart update fails in dashboard

This commit is contained in:
acognet
2022-03-16 11:05:50 +01:00
parent ea043960ff
commit e45013891c

View File

@@ -687,7 +687,7 @@ try
if ($sFilter != '') {
$oFilter = DBObjectSearch::FromOQL($sFilter);
$oDisplayBlock = new DisplayBlock($oFilter, 'chart_ajax', false);
$oBlock = $oDisplayBlock->GetRenderContent($oPage, $aParams);
$oBlock = $oDisplayBlock->GetRenderContent($oPage, $aParams, '');
$sChartType = isset($aParams['chart_type']) ? $aParams['chart_type'] : 'pie';
switch ($sChartType) {
case 'bars':