]> git.mxchange.org Git - friendica.git/blobdiff - mod/videos.php
Merge pull request #2711 from rabuzarus/0408-frio-photo-tpl-fix
[friendica.git] / mod / videos.php
index 7ea09d6a93d419475341a305b978f712b88d6391..e5a0887bb9f3a2e6e22c1ade3fe262977d94886f 100644 (file)
@@ -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);
                        }
                }