]> git.mxchange.org Git - friendica.git/commitdiff
fix accidentally deleted line with local_user()
authorrabuzarus <>
Mon, 28 Nov 2016 14:30:36 +0000 (15:30 +0100)
committerrabuzarus <>
Mon, 28 Nov 2016 14:30:36 +0000 (15:30 +0100)
mod/dfrn_request.php

index c8742394b5fdd3ce8497da011ac623f2f8d13c45..15a4dfdb79816d9d0861a52c352cd10293e73af3 100644 (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))
                                );