cleanup and loose ends
This commit is contained in:
parent
02a1fdacd7
commit
20ca93191f
3 changed files with 8 additions and 6 deletions
|
|
@ -1671,9 +1671,9 @@ function local_delivery($importer,$data) {
|
|||
|
||||
// Does our member already have a friend matching this description?
|
||||
|
||||
$r = q("SELECT * FROM `contact` WHERE `name` = '%s' AND `url` = '%s' AND `uid` = %d LIMIT 1",
|
||||
$r = q("SELECT * FROM `contact` WHERE `name` = '%s' AND `nurl` = '%s' AND `uid` = %d LIMIT 1",
|
||||
dbesc($fsugg['name']),
|
||||
dbesc($fsugg['url']),
|
||||
dbesc(normalise_link($fsugg['url'])),
|
||||
intval($fsugg['uid'])
|
||||
);
|
||||
if(count($r))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue