X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fvideos.php;h=bf8d696b60f90cceef1b14d825ba70151cde932f;hb=d523a809a28371be100a2f60e5862cc0f16ea882;hp=7ea09d6a93d419475341a305b978f712b88d6391;hpb=1a170c874368e3ce77eb569702462e54c96239a2;p=friendica.git diff --git a/mod/videos.php b/mod/videos.php index 7ea09d6a93..bf8d696b60 100644 --- a/mod/videos.php +++ b/mod/videos.php @@ -33,7 +33,7 @@ function videos_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 = "";