aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.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 /include/items.php
parentae7425dadb2e8e2911f405631e332965066a916b (diff)
downloadvolse-hubzilla-573670fa0c8a3d8f111430985d263499b79a6ac0.tar.gz
volse-hubzilla-573670fa0c8a3d8f111430985d263499b79a6ac0.tar.bz2
volse-hubzilla-573670fa0c8a3d8f111430985d263499b79a6ac0.zip
more social graph stuff
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index 1b4b52491..ad121bbf5 100644
--- a/include/items.php
+++ b/include/items.php
@@ -2388,12 +2388,13 @@ function new_follower($importer,$contact,$datarray,$item,$sharing = false) {
// create contact record
- $r = q("INSERT INTO `contact` ( `uid`, `created`, `url`, `name`, `nick`, `photo`, `network`, `rel`,
+ $r = q("INSERT INTO `contact` ( `uid`, `created`, `url`, `nurl`, `name`, `nick`, `photo`, `network`, `rel`,
`blocked`, `readonly`, `pending`, `writable` )
- VALUES ( %d, '%s', '%s', '%s', '%s', '%s', '%s', %d, 0, 0, 1, 1 ) ",
+ VALUES ( %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, 0, 0, 1, 1 ) ",
intval($importer['uid']),
dbesc(datetime_convert()),
dbesc($url),
+ dbesc(normalise_link($url)),
dbesc($name),
dbesc($nick),
dbesc($photo),