From b52c4fc04f4adbffe2855dbb2886f404f780403d Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 14 Dec 2022 22:29:54 -0500 Subject: [PATCH] [pumpio] Cast variable as array before being passed to Logger::info --- pumpio/pumpio.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index 6e72ea58..ce6465cd 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -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); -- 2.39.5