From b6859e0eb69d1521ad813de9308d826795665724 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sat, 4 Sep 2010 12:23:18 +0000 Subject: [PATCH] =?utf8?q?MDL-24079=20blog=20now=20using=20new=20sql=5Flik?= =?utf8?q?e();=CAfixed=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- blog/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/index.php b/blog/index.php index f2025e38688..3aae7e2d909 100755 --- a/blog/index.php +++ b/blog/index.php @@ -36,7 +36,7 @@ $PAGE->set_url('/blog/index.php', $url_params); //correct tagid if a text tag is provided as a param if (!empty($tag)) { - if ($tagrec = $DB->get_record_sql("SELECT * FROM {tag} WHERE ". $DB->sql_ilike('name', '?', false), array("%$tag%"))) { + if ($tagrec = $DB->get_record_sql("SELECT * FROM {tag} WHERE ". $DB->sql_like('name', '?', false), array("%$tag%"))) { $tagid = $tagrec->id; } else { unset($tagid); -- 2.43.0