N°6006 - Linksetindirect export fails

Remove unnecessary escape html handled by twig
This commit is contained in:
Benjamin Dalsass
2023-04-11 11:40:41 +02:00
parent a2d5e37714
commit 31f163c8ca

View File

@@ -259,14 +259,14 @@ EOF
}
if ($sExpression !== '') {
$oForm->AddSubBlock(InputUIBlockFactory::MakeForHidden("expression", utils::EscapeHtml($sExpression)));
$oForm->AddSubBlock(InputUIBlockFactory::MakeForHidden("expression", $sExpression));
$oExportSearch = DBObjectSearch::FromOQL($sExpression);
$oExportSearch->UpdateContextFromUser();
} else {
$oQuery = MetaModel::GetObject('QueryOQL', $sQueryId);
$oExportSearch = DBObjectSearch::FromOQL($oQuery->Get('oql'));
$oExportSearch->UpdateContextFromUser();
$oForm->AddSubBlock(InputUIBlockFactory::MakeForHidden("query", utils::EscapeHtml($sQueryId)));
$oForm->AddSubBlock(InputUIBlockFactory::MakeForHidden("query", $sQueryId));
}
$aFormPartsByFormat = array();
$aAllFormParts = array();