mirror of
https://github.com/friendica/friendica
synced 2025-04-28 23:04:24 +02:00
Rename dbesc to DBA::escape
This commit is contained in:
parent
d3a598f589
commit
a6fb3568f9
79 changed files with 665 additions and 670 deletions
|
@ -20,7 +20,7 @@ function oauth_get_client($request)
|
|||
$r = q("SELECT `clients`.*
|
||||
FROM `clients`, `tokens`
|
||||
WHERE `clients`.`client_id`=`tokens`.`client_id`
|
||||
AND `tokens`.`id`='%s' AND `tokens`.`scope`='request'", dbesc($token));
|
||||
AND `tokens`.`id`='%s' AND `tokens`.`scope`='request'", DBA::escape($token));
|
||||
|
||||
if (!DBA::isResult($r)) {
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue