X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Facl.php;h=dd5dd90281d0140782d45195dead24039635b8ae;hb=269221f0133b7961c7df403a44e20420c45c1d44;hp=c16b3bab6efc879cf8e7cb8e217b2060e774697c;hpb=e3584daef9c7801bce8d504152c5ccbd3ab492b4;p=friendica.git diff --git a/mod/acl.php b/mod/acl.php index c16b3bab6e..dd5dd90281 100644 --- a/mod/acl.php +++ b/mod/acl.php @@ -241,7 +241,7 @@ function acl_content(App $a) if ($conv_id) { // In multi threaded posts the conv_id is not the parent of the whole thread - $parent_item = dba::selectFirst('item', ['parent'], ['id' => $conv_id]); + $parent_item = Item::selectFirst(['parent'], ['id' => $conv_id]); if (DBM::is_result($parent_item)) { $conv_id = $parent_item['parent']; }