From: Friendika Date: Wed, 2 Nov 2011 07:34:01 +0000 (-0700) Subject: add nurl to contact X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=14230c1c4725d0441fe451380f5452824ab3b611;p=friendica-addons.git add nurl to contact --- diff --git a/facebook.tgz b/facebook.tgz index cdf52675..3f21bdc4 100644 Binary files a/facebook.tgz and b/facebook.tgz differ diff --git a/facebook/facebook.php b/facebook/facebook.php index a5478895..3c0a2a04 100644 --- a/facebook/facebook.php +++ b/facebook/facebook.php @@ -214,13 +214,14 @@ function fb_get_friends($uid) { else { // 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`, `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), dbesc(datetime_convert()), dbesc($jp->link), + dbesc(normalise_link($jp->link)), dbesc(''), dbesc(''), dbesc($jp->id),