aboutsummaryrefslogtreecommitdiffstats
path: root/include/api.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-30 20:48:55 -0700
committerFriendika <info@friendika.com>2011-07-30 20:48:55 -0700
commit149d52da8b49893426a584b14b2a48f81d32113b (patch)
treedd9926bcbcb46a733bcad27f8e1d8041c9fa78f0 /include/api.php
parent60caffcd7776043ee89e5939b81d7bd9d948cd4e (diff)
downloadvolse-hubzilla-149d52da8b49893426a584b14b2a48f81d32113b.tar.gz
volse-hubzilla-149d52da8b49893426a584b14b2a48f81d32113b.tar.bz2
volse-hubzilla-149d52da8b49893426a584b14b2a48f81d32113b.zip
show correct self profile in api
Diffstat (limited to 'include/api.php')
-rw-r--r--include/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php
index 2b1a8b0f5..31bf0624b 100644
--- a/include/api.php
+++ b/include/api.php
@@ -201,7 +201,7 @@
api_login($a); return False;
} else {
$user = $_SESSION['uid'];
- $extra_query = "AND `contact`.`uid` = %d ";
+ $extra_query = "AND `contact`.`uid` = %d AND `contact`.`self` = 1 ";
}
}