Fixed TypeError: "Argument 1 passed to Friendica\Core\System::httpExit() must be

of the type string, null given, called in /var/www/.../src/Module/DFRN/Poll.php
on line 37"
This commit is contained in:
Roland Häder 2022-06-18 05:41:19 +02:00
parent 7cbb818c93
commit 69cda4f760
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77

View file

@ -33,7 +33,6 @@ class Poll extends BaseModule
{ {
protected function rawContent(array $request = []) protected function rawContent(array $request = [])
{ {
$last_update = $request['last_update'] ?? ''; System::httpExit(OStatus::feed($this->parameters['nickname'], $request['last_update'] ?? '', 10) ?? '', Response::TYPE_ATOM);
System::httpExit(OStatus::feed($this->parameters['nickname'], $last_update, 10), Response::TYPE_ATOM);
} }
} }