From d6745c7087ad4d0d5cb97b1b4e2b1458ce95f2f1 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sat, 9 Sep 2006 13:53:52 +0000 Subject: [PATCH] Now we are using the new sql_order_by_text() function when we need to be able to order by TEXT columns in a cross-db behaviour. More info: http://docs.moodle.org/en/XMLDB_Problems#ORDER_BY_text_columns --- lib/rsslib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rsslib.php b/lib/rsslib.php index ec58cb567f..070e6a16aa 100644 --- a/lib/rsslib.php +++ b/lib/rsslib.php @@ -402,7 +402,7 @@ function rss_display_feeds($courseid='', $userid='', $rssid='') { $table->setup(); - $feeds = get_records_select('block_rss_client', $select, 'title'); + $feeds = get_records_select('block_rss_client', $select, sql_order_by_text('title')); if(!empty($feeds)) { foreach($feeds as $feed) { -- 2.39.5