aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-27 19:27:38 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-27 19:27:38 -0700
commitb381ec57346a6d7724b2317c120ce2e6e70edc37 (patch)
treee2cf66e01a87e438241e5bfac5daf6e7d3046b71 /include/identity.php
parent675aa96f222877a5aa543b8409a2c580cf10d3aa (diff)
parent11301d51a58d04843ba3056b4c9e92d59ced1334 (diff)
downloadvolse-hubzilla-b381ec57346a6d7724b2317c120ce2e6e70edc37.tar.gz
volse-hubzilla-b381ec57346a6d7724b2317c120ce2e6e70edc37.tar.bz2
volse-hubzilla-b381ec57346a6d7724b2317c120ce2e6e70edc37.zip
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts: mod/impel.php
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/identity.php b/include/identity.php
index 6a2b66dda..b07706ae0 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -619,8 +619,9 @@ function profile_load(&$a, $nickname, $profile = '') {
logger('profile_load: ' . $nickname . (($profile) ? ' profile: ' . $profile : ''));
- $user = q("select channel_id from channel where channel_address = '%s' limit 1",
- dbesc($nickname)
+ $user = q("select channel_id from channel where channel_address = '%s' and not ( channel_pageflags & %d ) > 0 limit 1",
+ dbesc($nickname),
+ intval(PAGE_REMOVED)
);
if(! $user) {