fix accidentally deleted line with local_user()

This commit is contained in:
rabuzarus 2016-11-28 15:30:36 +01:00
parent 5458f40f6a
commit d0cdf863a1

View file

@ -83,7 +83,7 @@ function dfrn_request_post(&$a) {
*/
$r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `nurl` = '%s' AND NOT `self` LIMIT 1",
dbesc($dfrn_url),
intval(local_user()),
dbesc(normalise_link($dfrn_url))
);