mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 17:18:51 +02:00
N°2919 - Dashboard - Fix dashboard not saved
the sanitization was too strong. Some names can contain ':'
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user