diff --git a/src/Manticore.php b/src/Manticore.php index b2b2ee1..9e5d1a0 100644 --- a/src/Manticore.php +++ b/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'); } else { - $value = json_decode( - $record->get('value') - ); + $value = $record->get('type_value'); } $records[$record->getId()] =