Merge pull request #9442 from annando/notice

Fixes notice:  Undefined index: nobody
2022.09-rc
Philipp 2020-10-20 19:33:06 +02:00 zatwierdzone przez GitHub
commit e5b969ccb8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -447,7 +447,7 @@ class HTTPSignature
$curl_opts = $opts;
$curl_opts['header'] = $header;
if ($opts['nobody']) {
if (!empty($opts['nobody'])) {
$curlResult = DI::httpRequest()->head($request, $curl_opts);
} else {
$curlResult = DI::httpRequest()->get($request, $curl_opts);