fix key name

This commit is contained in:
ghost 2024-02-14 21:00:45 +02:00
parent 4cf6bc3e5c
commit a3d1c9c649

View File

@ -229,16 +229,14 @@ class Manticore
);
}
if ($record->get('value_type') === self::TYPE_STRING)
if ($record->get('type_value') === self::TYPE_STRING)
{
$value = $record->get('value');
}
else
{
$value = json_decode(
$record->get('value')
);
$value = $record->get('type_value');
}
$records[$record->getId()] =