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

Merged
MrPetovan merged 1 commit from bug/12405-pumpio-log into 2022.12-rc 2022-12-15 06:31:24 +01:00

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);