Permalink
Browse files

Database::escape_str() is now Database::escape().

  • Loading branch information...
bharat committed Dec 18, 2009
1 parent ca1f7d0 commit 338af4a722fb08abdf9f5b364418ceb83a329cdc
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/search/helpers/search.php
@@ -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) {

0 comments on commit 338af4a

Please sign in to comment.