aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-22 00:25:01 -0700
committerfriendica <info@friendica.com>2012-06-22 00:25:01 -0700
commiteeceecc9baf6b8e8f238158439b34e2b465fee1a (patch)
tree72e8b66091448940b8ace6c227a6ca30877aaf55 /mod
parent53c9ea760659b39deeab9cff5d4f26d5abd63d31 (diff)
downloadvolse-hubzilla-eeceecc9baf6b8e8f238158439b34e2b465fee1a.tar.gz
volse-hubzilla-eeceecc9baf6b8e8f238158439b34e2b465fee1a.tar.bz2
volse-hubzilla-eeceecc9baf6b8e8f238158439b34e2b465fee1a.zip
unterminated sql string
Diffstat (limited to 'mod')
-rw-r--r--mod/dfrn_request.php2
1 files changed, 1 insertions, 1 deletions
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