Rename dbesc to DBA::escape
This commit is contained in:
committed by
Hypolite Petovan
parent
d3a598f589
commit
a6fb3568f9
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user