]> git.mjollnir.org Git - moodle.git/commitdiff
mnet MDL-21328 fixed non unique first field sql in mnet_services.php
authorPenny Leach <penny@liip.ch>
Wed, 13 Jan 2010 02:46:12 +0000 (02:46 +0000)
committerPenny Leach <penny@liip.ch>
Wed, 13 Jan 2010 02:46:12 +0000 (02:46 +0000)
merged from MOODLE_19_STABLE

admin/mnet/mnet_services.php

index 04c01167925a239bbebd66d21f17d05e7dcc9089..f92cbf3136472172789e81f1589d1e4b1b2f4bec 100644 (file)
@@ -83,7 +83,7 @@
             $id_list .= ', '.$CFG->mnet_all_hosts_id;
         }
 
-        $concat = $DB->sql_concat('COALESCE(h2s.id,0) ', ' \'-\' ', ' svc.id');
+        $concat = $DB->sql_concat('COALESCE(h2s.id,0) ', ' \'-\' ', ' svc.id', '\'-\'', 'r.parent_type', '\'-\'', 'r.parent');
 
         $query = "
             SELECT DISTINCT