mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 02:23:41 +00:00
Merge pull request #1336 from MrPetovan/bug/12405-pumpio-log
[pumpio] Cast variable as array before being passed to Logger::info
This commit is contained in:
commit
239003fa6c
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ function pumpio_registerclient(App $a, $host)
|
||||||
|
|
||||||
if ($curl_info['http_code'] == '200') {
|
if ($curl_info['http_code'] == '200') {
|
||||||
$values = json_decode($s);
|
$values = json_decode($s);
|
||||||
Logger::info('pumpio_registerclient: success ', $values);
|
Logger::info('pumpio_registerclient: success ', (array)$values);
|
||||||
return $values;
|
return $values;
|
||||||
}
|
}
|
||||||
Logger::info('pumpio_registerclient: failed: ', $curl_info);
|
Logger::info('pumpio_registerclient: failed: ', $curl_info);
|
||||||
|
|
Loading…
Reference in a new issue