aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-07-29 17:23:09 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-07-29 17:23:09 +0200
commitac6945eed1644e7a9e58c5f74dae696ff0f09d72 (patch)
treeb3b13f5569869a2feffb3990ea8e33313f789e5e /mod/profile.php
parentb1e766dadb1d4a9e727b2d1d5f32442392ac6bd3 (diff)
parentf47d582736ddf24528dd514850d4bed76783f589 (diff)
downloadvolse-hubzilla-ac6945eed1644e7a9e58c5f74dae696ff0f09d72.tar.gz
volse-hubzilla-ac6945eed1644e7a9e58c5f74dae696ff0f09d72.tar.bz2
volse-hubzilla-ac6945eed1644e7a9e58c5f74dae696ff0f09d72.zip
Merge remote-tracking branch 'friendika/master'
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile.php b/mod/profile.php
index e9b144ffd..71912458f 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -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'))
@@ -160,7 +160,7 @@ function profile_content(&$a, $update = 0) {
if($tab === 'posts') {
$o .= '<div id="live-profile"></div>' . "\r\n";
$o .= "<script> var profile_uid = " . $a->profile['profile_uid']
- . "; var netargs = ''; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
+ . "; var netargs = '/?f='; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
}
}