]> git.mxchange.org Git - friendica.git/blobdiff - include/enotify.php
Function calls
[friendica.git] / include / enotify.php
index 339e31a3c810e01c14d3fc681e2462e687e42086..d6ca12327179404e772c743089012adbf5c54cdf 100644 (file)
@@ -157,7 +157,7 @@ function notification($params)
                        $item = Item::selectFirstForUser($params['uid'], Item::ITEM_FIELDLIST, ['id' => $parent_id]);
                }
 
-               $item_post_type = item_post_type($item);
+               $item_post_type = Item::postType($item);
                $itemlink = $item['plink'];
 
                // "a post"