Merge branch 'MDL-55808_33' of git://github.com/juancs/moodle into MOODLE_33_STABLE

This commit is contained in:
Jun Pataleta
2017-11-20 10:37:31 +13:00
+1 -1
View File
@@ -3819,7 +3819,7 @@ function glossary_get_entries_by_search($glossary, $context, $query, $fullsearch
$count = $DB->count_records_sql("SELECT COUNT(DISTINCT(ge.id)) $sqlfrom $sqlwhere", $params);
$query = "$sqlwrapheader $sqlselect $sqlfrom $sqlwhere $sqlwrapfooter $sqlorderby";
$entries = $DB->get_recordset_sql($query, $params, $from, $limit);
$entries = $DB->get_records_sql($query, $params, $from, $limit);
return array($entries, $count);
}