From: Hypolite Petovan Date: Thu, 15 Dec 2022 03:29:54 +0000 (-0500) Subject: [pumpio] Cast variable as array before being passed to Logger::info X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b52c4fc04f4adbffe2855dbb2886f404f780403d;p=friendica-addons.git [pumpio] Cast variable as array before being passed to Logger::info --- 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);