aboutsummaryrefslogtreecommitdiffstats
path: root/mod/follow.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-11-01 16:08:07 -0700
committerFriendika <info@friendika.com>2011-11-01 16:08:07 -0700
commit573670fa0c8a3d8f111430985d263499b79a6ac0 (patch)
tree901718877c62abe3d6cc3bfb2050fa6a5126dac3 /mod/follow.php
parentae7425dadb2e8e2911f405631e332965066a916b (diff)
downloadvolse-hubzilla-573670fa0c8a3d8f111430985d263499b79a6ac0.tar.gz
volse-hubzilla-573670fa0c8a3d8f111430985d263499b79a6ac0.tar.bz2
volse-hubzilla-573670fa0c8a3d8f111430985d263499b79a6ac0.zip
more social graph stuff
Diffstat (limited to 'mod/follow.php')
-rw-r--r--mod/follow.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/follow.php b/mod/follow.php
index 4328e7fe0..0329d1eee 100644
--- a/mod/follow.php
+++ b/mod/follow.php
@@ -100,12 +100,13 @@ function follow_post(&$a) {
$new_relation = CONTACT_IS_FOLLOWER;
// create contact record
- $r = q("INSERT INTO `contact` ( `uid`, `created`, `url`, `addr`, `alias`, `batch`, `notify`, `poll`, `poco`, `name`, `nick`, `photo`, `network`, `pubkey`, `rel`, `priority`,
+ $r = q("INSERT INTO `contact` ( `uid`, `created`, `url`, `nurl`, `addr`, `alias`, `batch`, `notify`, `poll`, `poco`, `name`, `nick`, `photo`, `network`, `pubkey`, `rel`, `priority`,
`writable`, `blocked`, `readonly`, `pending` )
- VALUES ( %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, %d, 0, 0, 0 ) ",
+ VALUES ( %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, %d, 0, 0, 0 ) ",
intval(local_user()),
dbesc(datetime_convert()),
dbesc($ret['url']),
+ dbesc(normalise_link($ret['url'])),
dbesc($ret['addr']),
dbesc($ret['alias']),
dbesc($ret['batch']),