From: stronk7 Date: Sat, 9 Sep 2006 13:53:52 +0000 (+0000) Subject: Now we are using the new sql_order_by_text() function X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d6745c7087ad4d0d5cb97b1b4e2b1458ce95f2f1;p=moodle.git 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 --- 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) {