mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-14488 - start sql query with unique field - credit David Monllaó
This commit is contained in:
parent
250f84d6b1
commit
f76a259e10
@ -1445,7 +1445,7 @@ function get_my_remotecourses($userid=0) {
|
||||
$userid = $USER->id;
|
||||
}
|
||||
|
||||
$sql = "SELECT c.remoteid, c.shortname, c.fullname,
|
||||
$sql = "SELECT c.id, c.remoteid, c.shortname, c.fullname,
|
||||
c.hostid, c.summary, c.cat_name,
|
||||
h.name AS hostname
|
||||
FROM {mnet_enrol_course} c
|
||||
|
Loading…
x
Reference in New Issue
Block a user