diff --git a/src/Module/DFRN/Poll.php b/src/Module/DFRN/Poll.php index 516f86384..65f113b9d 100644 --- a/src/Module/DFRN/Poll.php +++ b/src/Module/DFRN/Poll.php @@ -33,7 +33,6 @@ class Poll extends BaseModule { protected function rawContent(array $request = []) { - $last_update = $request['last_update'] ?? ''; - System::httpExit(OStatus::feed($this->parameters['nickname'], $last_update, 10), Response::TYPE_ATOM); + System::httpExit(OStatus::feed($this->parameters['nickname'], $request['last_update'] ?? '', 10) ?? '', Response::TYPE_ATOM); } }