From d0cdf863a14d70bb6ce447ad28b2f71872e13b64 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Mon, 28 Nov 2016 15:30:36 +0100 Subject: [PATCH] fix accidentally deleted line with local_user() --- mod/dfrn_request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index c8742394b..15a4dfdb7 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -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)) );