glossary MDL-22970 uid is reserved in ORACLE! changed to userid
authorAparup Banerjee <aparup@moodle.com>
Wed, 16 Feb 2011 03:46:20 +0000 (04:46 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 16 Feb 2011 03:46:20 +0000 (04:46 +0100)
mod/glossary/lib.php

index cb96fac..b79d4a6 100644 (file)
@@ -353,7 +353,7 @@ function glossary_print_recent_activity($course, $viewfullnames, $timestart) {
     }
 
     $selectsql = 'SELECT ge.id, ge.concept, ge.approved, ge.timemodified, ge.glossaryid,
-                                        ge.userid, '.user_picture::fields('u',null,'uid');
+                                        '.user_picture::fields('u',null,'userid');
     $countsql = 'SELECT COUNT(*)';
 
     $joins = array(' FROM {glossary_entries} ge ');