N°2919 - Dashboard - Fix dashboard not saved

the sanitization was too strong. Some names can contain ':'
This commit is contained in:
Eric
2020-04-10 18:11:36 +02:00
parent c1a7a36896
commit 5b60ec9edf

View File

@@ -1197,7 +1197,7 @@ EOF
break;
case 'dashboard_editor':
$sId = utils::ReadParam('id', '', false, 'element_identifier');
$sId = utils::ReadParam('id', '', false, 'context_param');
$aExtraParams = utils::ReadParam('extra_params', array(), false, 'raw_data');
$aExtraParams['dashboard_div_id'] = utils::Sanitize($sId, '', 'element_identifier');
$sDashboardFile = utils::ReadParam('file', '', false, 'raw_data');