From: mjollnir_ Date: Tue, 3 Jun 2008 09:47:47 +0000 (+0000) Subject: MDL-14967 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=455dfd5026c22edb1d5b25ee2a12af25e225a708;p=moodle.git MDL-14967 fixing a dml change that had the params added to the wrong function call. --- diff --git a/admin/mnet/peers.php b/admin/mnet/peers.php index 5dcefbcd9f..3bedb84ce0 100644 --- a/admin/mnet/peers.php +++ b/admin/mnet/peers.php @@ -176,10 +176,11 @@ if (($form = data_submitted()) && confirm_sesskey()) { WHERE h.id <> ? AND h.deleted = 0 AND - h.applicationid=a.id'); + h.applicationid=a.id', + array($CFG->mnet_localhost_id));; if (empty($hosts)) $hosts = array(); - $applications = $DB->get_records('mnet_application', array($CFG->mnet_localhost_id)); + $applications = $DB->get_records('mnet_application'); include('./peers.html'); } ?>