Fix PHP 8 Fatal Error with already closed statement in mod/ping
- Address https://github.com/friendica/friendica/issues/10167#issuecomment-828941639
This commit is contained in:
parent
412a0b3e1c
commit
115da7a708
|
@ -139,7 +139,7 @@ function ping_init(App $a)
|
|||
local_user(), Verb::getID(Activity::FOLLOW)];
|
||||
$items = Post::selectForUser(local_user(), ['wall', 'uid', 'uri-id'], $condition);
|
||||
if (DBA::isResult($items)) {
|
||||
$items_unseen = Post::toArray($items);
|
||||
$items_unseen = Post::toArray($items, false);
|
||||
$arr = ['items' => $items_unseen];
|
||||
Hook::callAll('network_ping', $arr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue