aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-25 19:17:35 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-25 19:17:35 -0700
commit9a0264f5d23f08d8dc9b4484c93f630dd91738b8 (patch)
tree6d6e4eee4bd11adc7f6c6e8b2a6d40ae8003ba2b /include/identity.php
parent29a8d580be141ee451e4f5b02870e9fe384e3ed6 (diff)
downloadvolse-hubzilla-9a0264f5d23f08d8dc9b4484c93f630dd91738b8.tar.gz
volse-hubzilla-9a0264f5d23f08d8dc9b4484c93f630dd91738b8.tar.bz2
volse-hubzilla-9a0264f5d23f08d8dc9b4484c93f630dd91738b8.zip
some work on issue #329
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 dec3f6e98..06d8a4cf8 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -621,8 +621,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) {