]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Item.php
Moved global PAGE_* to Profile class (#5500)
[friendica.git] / src / Model / Item.php
index 932db885d0eb15194767cb40e05762f875ce6c77..77d63ca50552f23f699c15f7edd2b4019837bff6 100644 (file)
@@ -2473,8 +2473,8 @@ class Item extends BaseObject
                        return;
                }
 
-               $community_page = (($user['page-flags'] == PAGE_COMMUNITY) ? true : false);
-               $prvgroup = (($user['page-flags'] == PAGE_PRVGROUP) ? true : false);
+               $community_page = (($user['page-flags'] == Contact::PAGE_COMMUNITY) ? true : false);
+               $prvgroup = (($user['page-flags'] == Contact::PAGE_PRVGROUP) ? true : false);
 
                $item = self::selectFirst(self::ITEM_FIELDLIST, ['id' => $item_id]);
                if (!DBA::isResult($item)) {