Rename dbesc to DBA::escape
This commit is contained in:
parent
d3a598f589
commit
a6fb3568f9
79 changed files with 665 additions and 670 deletions
|
@ -30,7 +30,7 @@ function wall_upload_post(App $a, $desktopmode = true)
|
|||
INNER JOIN `contact` on `user`.`uid` = `contact`.`uid`
|
||||
WHERE `user`.`nickname` = '%s' AND `user`.`blocked` = 0
|
||||
AND `contact`.`self` = 1 LIMIT 1",
|
||||
dbesc($nick)
|
||||
DBA::escape($nick)
|
||||
);
|
||||
|
||||
if (!DBA::isResult($r)) {
|
||||
|
@ -46,7 +46,7 @@ function wall_upload_post(App $a, $desktopmode = true)
|
|||
INNER JOIN `contact` on `user`.`uid` = `contact`.`uid`
|
||||
WHERE `user`.`nickname` = '%s' AND `user`.`blocked` = 0
|
||||
AND `contact`.`self` = 1 LIMIT 1",
|
||||
dbesc($user_info['screen_name'])
|
||||
DBA::escape($user_info['screen_name'])
|
||||
);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue