Commit fb473042 authored by Aparup Banerjee's avatar Aparup Banerjee Committed by Petr Skoda
Browse files

glossary MDL-22970 changed fieldname so that MSSQL does not complain about same fieldnames

something should be done about this in the driver
parent aabd2f00
...@@ -353,7 +353,7 @@ function glossary_print_recent_activity($course, $viewfullnames, $timestart) { ...@@ -353,7 +353,7 @@ function glossary_print_recent_activity($course, $viewfullnames, $timestart) {
} }
$selectsql = 'SELECT ge.id, ge.concept, ge.approved, ge.timemodified, ge.glossaryid, $selectsql = 'SELECT ge.id, ge.concept, ge.approved, ge.timemodified, ge.glossaryid,
ge.userid, '.user_picture::fields('u',null,'userid'); ge.userid, '.user_picture::fields('u',null,'uid');
$countsql = 'SELECT COUNT(*)'; $countsql = 'SELECT COUNT(*)';
$joins = array(' FROM {glossary_entries} ge '); $joins = array(' FROM {glossary_entries} ge ');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment