summaryrefslogtreecommitdiff
path: root/modules/tag/controllers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-12-06 20:38:57 -0800
committerBharat Mediratta <bharat@menalto.com>2009-12-06 20:38:57 -0800
commit3d0a7a33ad0c1bbc16ef6156609110e14b6e0ee6 (patch)
tree94d0a256394cc77d08a2196517769d3d95a9b754 /modules/tag/controllers
parent2132c9a96d923d48effc3fe8facedff4a4da3b13 (diff)
Fix a few more database queries
Diffstat (limited to 'modules/tag/controllers')
-rw-r--r--modules/tag/controllers/tags.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/controllers/tags.php b/modules/tag/controllers/tags.php
index dfa3a9b3..a44f6aa3 100644
--- a/modules/tag/controllers/tags.php
+++ b/modules/tag/controllers/tags.php
@@ -83,7 +83,7 @@ class Tags_Controller extends Controller {
$limit = $this->input->get("limit");
$tag_part = end($tag_parts);
$tag_list = ORM::factory("tag")
- ->like("name", "{$tag_part}%", false)
+ ->where("name", "LIKE", "{$tag_part}%")
->order_by("name", "ASC")
->limit($limit)
->find_all();