diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-05-27 19:27:38 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-05-27 19:27:38 -0700 |
commit | b381ec57346a6d7724b2317c120ce2e6e70edc37 (patch) | |
tree | e2cf66e01a87e438241e5bfac5daf6e7d3046b71 /include/identity.php | |
parent | 675aa96f222877a5aa543b8409a2c580cf10d3aa (diff) | |
parent | 11301d51a58d04843ba3056b4c9e92d59ced1334 (diff) | |
download | volse-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.php | 5 |
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) { |