add nurl to contact
This commit is contained in:
parent
94e8c206ec
commit
14230c1c47
BIN
facebook.tgz
BIN
facebook.tgz
Binary file not shown.
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user