From bd3a7b98775e2983ff0937b2215c892c9ecacd2f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 18 Jun 2022 09:58:44 +0200 Subject: [PATCH] Ops, needs to be a variable: Error: "Cannot pass parameter 2 by reference" at /var/www/.../src/Module/DFRN/Poll.php line 36 --- src/Module/DFRN/Poll.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Module/DFRN/Poll.php b/src/Module/DFRN/Poll.php index 65f113b9db..e41dafed56 100644 --- a/src/Module/DFRN/Poll.php +++ b/src/Module/DFRN/Poll.php @@ -33,6 +33,7 @@ class Poll extends BaseModule { protected function rawContent(array $request = []) { - System::httpExit(OStatus::feed($this->parameters['nickname'], $request['last_update'] ?? '', 10) ?? '', Response::TYPE_ATOM); + $last_update = $request['last_update'] ?? ''; + System::httpExit(OStatus::feed($this->parameters['nickname'], $last_update, 10) ?? '', Response::TYPE_ATOM); } } -- 2.39.5