diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-05-25 19:17:35 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-05-25 19:17:35 -0700 |
commit | 9a0264f5d23f08d8dc9b4484c93f630dd91738b8 (patch) | |
tree | 6d6e4eee4bd11adc7f6c6e8b2a6d40ae8003ba2b /mod/receive.php | |
parent | 29a8d580be141ee451e4f5b02870e9fe384e3ed6 (diff) | |
download | volse-hubzilla-9a0264f5d23f08d8dc9b4484c93f630dd91738b8.tar.gz volse-hubzilla-9a0264f5d23f08d8dc9b4484c93f630dd91738b8.tar.bz2 volse-hubzilla-9a0264f5d23f08d8dc9b4484c93f630dd91738b8.zip |
some work on issue #329
Diffstat (limited to 'mod/receive.php')
-rw-r--r-- | mod/receive.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/receive.php b/mod/receive.php index b7d27d40f..deaf8cb37 100644 --- a/mod/receive.php +++ b/mod/receive.php @@ -31,7 +31,7 @@ function receive_post(&$a) { // Diaspora sites *may* provide a truncated guid. - $r = q("SELECT * FROM channel left join xchan on channel_hash = xchan_hash WHERE channel_guid like '%s' AND NOT (channel_pageflags & %d )>0 LIMIT 1", + $r = q("SELECT * FROM channel left join xchan on channel_hash = xchan_hash WHERE channel_guid like '%s' AND (channel_pageflags & %d ) = 0 LIMIT 1", dbesc($guid . '%'), intval(PAGE_REMOVED) ); |