X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fenotify.php;h=00459ac5c09f5fbd8b78d6bab49c1fa5edc12e4b;hb=4da9395075e13553d200ced03ffc104743d9bc98;hp=3e01736f15a82434f4bfc51104cac9617fc1eb6e;hpb=6f9ec690aaa8e8a4ef4a487f2755cf68cee4b052;p=friendica.git diff --git a/include/enotify.php b/include/enotify.php index 3e01736f15..00459ac5c0 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -130,7 +130,7 @@ function notification($params) $item = null; if ($params['otype'] === 'item' && $parent_id) { - $item = Item::selectFirst($params['uid'], [], ['id' => $parent_id]); + $item = Item::selectFirstForUser($params['uid'], [], ['id' => $parent_id]); } $item_post_type = item_post_type($item);