mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 00:45:14 +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
|
@ -26,7 +26,7 @@ function wallmessage_post(App $a) {
|
|||
}
|
||||
|
||||
$r = q("select * from user where nickname = '%s' limit 1",
|
||||
dbesc($recipient)
|
||||
DBA::escape($recipient)
|
||||
);
|
||||
|
||||
if (! DBA::isResult($r)) {
|
||||
|
@ -88,7 +88,7 @@ function wallmessage_content(App $a) {
|
|||
}
|
||||
|
||||
$r = q("select * from user where nickname = '%s' limit 1",
|
||||
dbesc($recipient)
|
||||
DBA::escape($recipient)
|
||||
);
|
||||
|
||||
if (! DBA::isResult($r)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue