mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°7374 - Security hardening
This commit is contained in:
@@ -881,7 +881,7 @@ try
|
||||
if (isset($aRowData["finalclass"]) && isset($aRowData["id"]))
|
||||
{
|
||||
$aRowDisp["__OBJECT_CLASS__"] = $aRowData["finalclass"];
|
||||
$aRowDisp["__OBJECT_ID__"] = $aRowData["id"]->GetDisplayableValue();
|
||||
$aRowDisp["__OBJECT_ID__"] = $aRowData["id"]->GetCLIValue();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -900,7 +900,7 @@ try
|
||||
|
||||
if (is_object($value))
|
||||
{
|
||||
$aRowDisp["$sKey"] = $value->GetDisplayableValueAndDescription();
|
||||
$aRowDisp["$sKey"] = $value->GetCLIValueAndDescription();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user