diff options
Diffstat (limited to 'include/follow.php')
-rw-r--r-- | include/follow.php | 2 |
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) { |