auto-friend profiles showing up in directory as community pages
This commit is contained in:
parent
a45b94033e
commit
9b2ddb2cc2
|
@ -21,7 +21,7 @@ function profile_init(&$a) {
|
|||
|
||||
profile_load($a,$which,$profile);
|
||||
|
||||
if((x($a->profile,'page-flags')) && ($a->profile['page-flags'] & PAGE_COMMUNITY)) {
|
||||
if((x($a->profile,'page-flags')) && ($a->profile['page-flags'] == PAGE_COMMUNITY)) {
|
||||
$a->page['htmlhead'] .= '<meta name="friendika.community" content="true" />';
|
||||
}
|
||||
if(x($a->profile,'openidserver'))
|
||||
|
|
Loading…
Reference in a new issue