Merge pull request #13848 from annando/getbodystring

Changed leftover "getBody" to "getBodyString"
pull/13846/head^2
Hypolite Petovan 2024-01-22 08:20:37 -05:00 committed by GitHub
commit a0f7625c34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -2207,7 +2207,7 @@ class GServer
*/
private static function analyseRootBody($curlResult, array $serverdata): array
{
if (empty($curlResult->getBody())) {
if (empty($curlResult->getBodyString())) {
return $serverdata;
}
@ -2220,7 +2220,7 @@ class GServer
$platforms = array_merge($ap_platforms, $dfrn_platforms, $zap_platforms, $platforms);
$doc = new DOMDocument();
@$doc->loadHTML($curlResult->getBody());
@$doc->loadHTML($curlResult->getBodyString());
$xpath = new DOMXPath($doc);
$assigned = false;