mnet MDL-21261 fixing a sql unique keyword in the new mnet admin testclient

This commit is contained in:
Penny Leach 2010-02-18 03:44:31 +00:00
parent fd1972490e
commit 24409f74b2

View File

@ -89,7 +89,7 @@ if (!empty($hostid) && array_key_exists($hostid, $hosts)) {
// so it's best to just do this small query and then remap the results afterwards
$sql = '
SELECT DISTINCT
' . $DB->sql_concat('r.plugintype', "'_'", 'r.pluginname', "'_'", 's.name') . ' AS unique,
' . $DB->sql_concat('r.plugintype', "'_'", 'r.pluginname', "'_'", 's.name') . ' AS uniqueid,
s.name,
r.plugintype,
r.pluginname