Corrected an SQL statement that used 'user' instead of $CFG->prefix.'user'. Note - this is a left join of a table that is already inner joined in the same statement. There may be other problems here.
Corrected an SQL statement that used 'user' instead of $CFG->prefix.'user'.
Note - this is a left join of a table that is already inner joined in the
same statement. There may be other problems here.

dilawar/moodle