mirror of
https://github.com/friendica/friendica
synced 2025-04-22 15:10:12 +00:00
unterminated sql string
This commit is contained in:
parent
53c9ea7606
commit
eeceecc9ba
3 changed files with 76 additions and 68 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue