X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fvideos.php;h=bf8d696b60f90cceef1b14d825ba70151cde932f;hb=bb5421d9253da0cbe587fe542df540ae6e3c06c4;hp=707606769a9c88a2cbf5710f55ed18bda1a12364;hpb=d963cdfe48b536a4c5eeeae54acf97493fca304f;p=friendica.git diff --git a/mod/videos.php b/mod/videos.php index 707606769a..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 = ""; @@ -61,7 +61,7 @@ function videos_init(&$a) { $albums_visible = ((intval($a->data['user']['hidewall']) && (! local_user()) && (! remote_user())) ? false : true); if($albums_visible) { - $o .= '