]> git.mxchange.org Git - friendica-addons.git/commitdiff
[pumpio] Cast variable as array before being passed to Logger::info
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 15 Dec 2022 03:29:54 +0000 (22:29 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Thu, 15 Dec 2022 03:29:54 +0000 (22:29 -0500)
pumpio/pumpio.php

index 6e72ea58b232499eeab6918987fe7d1afd518451..ce6465cd152a82773c0e2f772aeacd63df281107 100644 (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);