-
Bug
-
Resolution: Fixed
-
Minor
-
1.7, 1.8, 1.9, 1.9.13
-
None
-
MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
-
MOODLE_19_STABLE
-
search/lib.php makes direct calls to mysql_real_escape_string and the equivalent for postgresql.
Afaik, this should be done via a call to $db->qstr(), which would apply all the checks adodb provides for other engines (oci8, mysqli and mssql), and make the code a bit simpler.
- will be (partly) resolved by
-
MDL-16950 Global search has broken title and url stored when using adoDB::mysqli
-
- Closed
-