mirror of
https://github.com/friendica/friendica
synced 2025-04-26 21:50:11 +00:00
Rename dbesc to DBA::escape
This commit is contained in:
parent
d3a598f589
commit
a6fb3568f9
79 changed files with 665 additions and 670 deletions
|
@ -85,7 +85,7 @@ class ACL extends BaseObject
|
|||
if (!empty($x['networks'])) {
|
||||
/// @TODO rewrite to foreach()
|
||||
array_walk($x['networks'], function (&$value) {
|
||||
$value = "'" . dbesc($value) . "'";
|
||||
$value = "'" . DBA::escape($value) . "'";
|
||||
});
|
||||
$str_nets = implode(',', $x['networks']);
|
||||
$sql_extra .= " AND `network` IN ( $str_nets ) ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue