]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
Bugfix: The "keywords" field in the gcontact table wasn't set correctly
[friendica.git] / mod / photos.php
index 6b97d7d4fb42bbb2231a91dbed4a0aa92b197e43..a9dade6a81c8e291f4451985f89d889118a47847 100644 (file)
@@ -37,7 +37,7 @@ function photos_init(&$a) {
 
                $profile = get_profiledata_by_nick($nick, $a->profile_uid);
 
-               if((x($profile['page-flags']) == 2) || (x($profile['page-flags']) == 5))
+               if((intval($profile['page-flags']) == PAGE_COMMUNITY) || (intval($profile['page-flags']) == PAGE_PRVGROUP))
                        $account_type = t('Forum');
                else
                        $account_type = "";