X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fphotos.php;h=a9dade6a81c8e291f4451985f89d889118a47847;hb=1030c5f4b63df897c4cc96880063fc6ff0e56cb6;hp=6b97d7d4fb42bbb2231a91dbed4a0aa92b197e43;hpb=e44b831a2196717cae7e31c9fcbe42baf63541f4;p=friendica.git diff --git a/mod/photos.php b/mod/photos.php index 6b97d7d4fb..a9dade6a81 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -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 = "";