mirror of
https://github.com/friendica/friendica
synced 2024-12-23 04:40:15 +00:00
Changed leftover "getBody" to "getBodyString"
This commit is contained in:
parent
75b37fe376
commit
ad6976a407
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue