add nurl to contact

pull/1/head
Friendika 2011-11-02 00:34:01 -07:00
parent 94e8c206ec
commit 14230c1c47
2 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -214,13 +214,14 @@ function fb_get_friends($uid) {
else { else {
// create contact record // create contact record
$r = q("INSERT INTO `contact` ( `uid`, `created`, `url`, `addr`, `alias`, `notify`, `poll`, $r = q("INSERT INTO `contact` ( `uid`, `created`, `url`, `nurl`, `addr`, `alias`, `notify`, `poll`,
`name`, `nick`, `photo`, `network`, `rel`, `priority`, `name`, `nick`, `photo`, `network`, `rel`, `priority`,
`writable`, `blocked`, `readonly`, `pending` ) `writable`, `blocked`, `readonly`, `pending` )
VALUES ( %d, '%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', %d, %d, %d, 0, 0, 0 ) ",
intval($uid), intval($uid),
dbesc(datetime_convert()), dbesc(datetime_convert()),
dbesc($jp->link), dbesc($jp->link),
dbesc(normalise_link($jp->link)),
dbesc(''), dbesc(''),
dbesc(''), dbesc(''),
dbesc($jp->id), dbesc($jp->id),