normalise comparison link on delegation page

This commit is contained in:
friendica 2012-03-22 06:19:27 -07:00
parent c7dcc58673
commit 40d19d5b8c

View file

@ -86,7 +86,7 @@ function delegate_content(&$a) {
$r = q("select nurl from contact where substring_index(contact.nurl,'/',3) = '%s' $r = q("select nurl from contact where substring_index(contact.nurl,'/',3) = '%s'
and contact.uid = %d and contact.self = 0 and network = '%s' ", and contact.uid = %d and contact.self = 0 and network = '%s' ",
dbesc($a->get_baseurl()), dbesc(normalise_link($a->get_baseurl())),
intval(local_user()), intval(local_user()),
dbesc(NETWORK_DFRN) dbesc(NETWORK_DFRN)
); );