From eeceecc9baf6b8e8f238158439b34e2b465fee1a Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 22 Jun 2012 00:25:01 -0700 Subject: unterminated sql string --- mod/dfrn_request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/dfrn_request.php') diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 3c76034c3..cec2d7f8b 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -170,7 +170,7 @@ function dfrn_request_post(&$a) { info( t("Introduction complete.") . EOL); } - $r = q("select id from contact where uid = %d and url = '%s' and `site-pubkey` = '%s limit 1", + $r = q("select id from contact where uid = %d and url = '%s' and `site-pubkey` = '%s' limit 1", intval(local_user()), dbesc($dfrn_url), $parms['key'] // this was already escaped -- cgit v1.2.3