mirror of
https://github.com/friendica/friendica
synced 2025-04-23 11:50:12 +00:00
Fixes notice: Undefined index: nobody in /src/Util/HTTPSignature.php on line 450
This commit is contained in:
parent
4719af6724
commit
c9d79040cb
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ class HTTPSignature
|
||||||
$curl_opts = $opts;
|
$curl_opts = $opts;
|
||||||
$curl_opts['header'] = $header;
|
$curl_opts['header'] = $header;
|
||||||
|
|
||||||
if ($opts['nobody']) {
|
if (!empty($opts['nobody'])) {
|
||||||
$curlResult = DI::httpRequest()->head($request, $curl_opts);
|
$curlResult = DI::httpRequest()->head($request, $curl_opts);
|
||||||
} else {
|
} else {
|
||||||
$curlResult = DI::httpRequest()->get($request, $curl_opts);
|
$curlResult = DI::httpRequest()->get($request, $curl_opts);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue