mirror of
https://github.com/kvazar-network/index-php.git
synced 2025-02-02 02:04:24 +00:00
fix key name
This commit is contained in:
parent
4cf6bc3e5c
commit
a3d1c9c649
@ -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');
|
$value = $record->get('value');
|
||||||
}
|
}
|
||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$value = json_decode(
|
$value = $record->get('type_value');
|
||||||
$record->get('value')
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$records[$record->getId()] =
|
$records[$record->getId()] =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user