mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 10:58:48 +00:00
[multiple] Rename dbesc to DBA::escape
This commit is contained in:
parent
d9ec1ef80d
commit
522e8e58c2
14 changed files with 109 additions and 96 deletions
|
@ -100,7 +100,7 @@ function forumdirectory_content(&$a)
|
|||
if (strlen($search)) {
|
||||
$sql_extra = " AND MATCH (`profile`.`name`, `user`.`nickname`, `pdesc`, `locality`,`region`,`country-name`,"
|
||||
. "`gender`,`marital`,`sexual`,`about`,`romance`,`work`,`education`,`pub_keywords`,`prv_keywords` )"
|
||||
. " AGAINST ('" . dbesc($search) . "' IN BOOLEAN MODE) ";
|
||||
. " AGAINST ('" . DBA::escape($search) . "' IN BOOLEAN MODE) ";
|
||||
}
|
||||
|
||||
$publish = Config::get('system', 'publish_all') ? '' : " AND `publish` = 1 ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue