From 493f08200b2b05f5a4e3c9a2f92da54f917f9468 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Thu, 28 Aug 2008 18:04:16 +0000 Subject: [PATCH] Add missing $DB --- mod/forum/lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 0f25dfc7c2..2c2360365b 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -1118,7 +1118,8 @@ function pre_load_all_ratings(&$cm, $discussion) { * */ function forum_print_overview($courses,&$htmlarray) { - global $USER, $CFG; + global $USER, $CFG, $DB; + $LIKE = $DB->sql_ilike(); if (empty($courses) || !is_array($courses) || count($courses) == 0) { -- 2.39.5