Browse Source

fix key name

main
ghost 9 months ago
parent
commit
a3d1c9c649
  1. 6
      src/Manticore.php

6
src/Manticore.php

@ -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…
Cancel
Save