X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fvideos.php;h=e5a0887bb9f3a2e6e22c1ade3fe262977d94886f;hb=0c9cc29a51941eb572bf16fd5489d0947d47d033;hp=7ea09d6a93d419475341a305b978f712b88d6391;hpb=1f9644bdedf843a6bc3b9af3bfda20e5205ce018;p=friendica.git diff --git a/mod/videos.php b/mod/videos.php index 7ea09d6a93..e5a0887bb9 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 = ""; @@ -167,7 +167,7 @@ function videos_post(&$a) { $drop_id = intval($i[0]['id']); if($i[0]['visible']) - proc_run('php',"include/notifier.php","drop","$drop_id"); + proc_run(PRIORITY_HIGH, "include/notifier.php", "drop", $drop_id); } }