mirror of
https://github.com/kvazar-network/index-php.git
synced 2025-01-22 04:45:13 +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');
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
$value = json_decode(
|
||||
$record->get('value')
|
||||
);
|
||||
$value = $record->get('type_value');
|
||||
}
|
||||
|
||||
$records[$record->getId()] =
|
||||
|
Loading…
x
Reference in New Issue
Block a user