aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-16 15:51:55 -0800
committerfriendica <info@friendica.com>2013-02-16 15:51:55 -0800
commita21e6cffa184d78b6214a0306e2d2a7bbfc8ddb1 (patch)
tree1448f88c5be38411f91c0f32cef2b7443706fdfb /include/follow.php
parent663f09e01bab8e20390691d81cac541d4fd3289a (diff)
downloadvolse-hubzilla-a21e6cffa184d78b6214a0306e2d2a7bbfc8ddb1.tar.gz
volse-hubzilla-a21e6cffa184d78b6214a0306e2d2a7bbfc8ddb1.tar.bz2
volse-hubzilla-a21e6cffa184d78b6214a0306e2d2a7bbfc8ddb1.zip
start on channel_remove(), add some generic channel queries to the API layers
Diffstat (limited to 'include/follow.php')
-rw-r--r--include/follow.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/follow.php b/include/follow.php
index cf77c40ea..a094a979f 100644
--- a/include/follow.php
+++ b/include/follow.php
@@ -114,7 +114,7 @@ function new_contact($uid,$url,$channel,$interactive = false) {
$hash = $a->observer['xchan_hash'];
}
else {
- $r = q("select * from channel where uid = %d limit 1",
+ $r = q("select * from channel where channel_id = %d limit 1",
intval($uid)
);
if(! $r) {