[pumpio] Cast variable as array before being passed to Logger::info

This commit is contained in:
Hypolite Petovan 2022-12-14 22:29:54 -05:00
parent cd620d2134
commit b52c4fc04f

View file

@ -123,7 +123,7 @@ function pumpio_registerclient(App $a, $host)
if ($curl_info['http_code'] == '200') {
$values = json_decode($s);
Logger::info('pumpio_registerclient: success ', $values);
Logger::info('pumpio_registerclient: success ', (array)$values);
return $values;
}
Logger::info('pumpio_registerclient: failed: ', $curl_info);