Merge pull request #10933 from annando/notice
Fix notice "Array to string conversion"
This commit is contained in:
commit
e9a258b284
|
@ -66,7 +66,7 @@ class PubSubPublish
|
||||||
$subscriber['topic']),
|
$subscriber['topic']),
|
||||||
'X-Hub-Signature' => 'sha1=' . $hmac_sig];
|
'X-Hub-Signature' => 'sha1=' . $hmac_sig];
|
||||||
|
|
||||||
Logger::debug('POST ' . ['headers' => $headers, 'params' => $params]);
|
Logger::debug('POST', ['headers' => $headers, 'params' => $params]);
|
||||||
|
|
||||||
$postResult = DI::httpClient()->post($subscriber['callback_url'], $params, $headers);
|
$postResult = DI::httpClient()->post($subscriber['callback_url'], $params, $headers);
|
||||||
$ret = $postResult->getReturnCode();
|
$ret = $postResult->getReturnCode();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user