aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-18 22:12:36 -0700
committerfriendica <info@friendica.com>2012-03-18 22:12:36 -0700
commitcca524495cdc8c1167421393f4d8e8da4a94a855 (patch)
tree2e76b0ce5b6baf26ff6ba2e8ee89efde74080b5e /include/poller.php
parent02786d6ed0811b0d63c0e466309dfda7740e2609 (diff)
downloadvolse-hubzilla-cca524495cdc8c1167421393f4d8e8da4a94a855.tar.gz
volse-hubzilla-cca524495cdc8c1167421393f4d8e8da4a94a855.tar.bz2
volse-hubzilla-cca524495cdc8c1167421393f4d8e8da4a94a855.zip
community discovery cont., cleanup of DB debugging
Diffstat (limited to 'include/poller.php')
-rwxr-xr-xinclude/poller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/poller.php b/include/poller.php
index 3bc98e36f..8262c1d60 100755
--- a/include/poller.php
+++ b/include/poller.php
@@ -232,7 +232,7 @@ function poller_run($argv, $argc){
$importer_uid = $contact['uid'];
- $r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `self` = 1 LIMIT 1",
+ $r = q("SELECT `contact`.*, `user`.`page-flags` FROM `contact` LEFT JOIN `user` on `contact`.`uid` = `user`.`uid` WHERE `user`.`uid` = %d AND `contact`.`self` = 1 LIMIT 1",
intval($importer_uid)
);
if(! count($r))