Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 338af4a722fb08abdf9f5b364418ceb83a329cdc 1 parent ca1f7d0
Bharat Mediratta authored December 18, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  modules/search/helpers/search.php
2  modules/search/helpers/search.php
@@ -20,7 +20,7 @@
20 20
 class search_Core {
21 21
   static function search($q, $limit, $offset) {
22 22
     $db = Database::instance();
23  
-    $q = $db->escape_str($q);
  23
+    $q = $db->escape($q);
24 24
 
25 25
     if (!identity::active_user()->admin) {
26 26
       foreach (identity::group_ids_for_active_user() as $id) {

0 notes on commit 338af4a

Please sign in to comment.
Something went wrong with that request. Please try again.