Skip to content

Commit

Permalink
Database::escape_str() is now Database::escape().
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Dec 18, 2009
1 parent ca1f7d0 commit 338af4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/search/helpers/search.php
Expand Up @@ -20,7 +20,7 @@
class search_Core {
static function search($q, $limit, $offset) {
$db = Database::instance();
$q = $db->escape_str($q);
$q = $db->escape($q);

if (!identity::active_user()->admin) {
foreach (identity::group_ids_for_active_user() as $id) {
Expand Down

0 comments on commit 338af4a

Please sign in to comment.