From 455dfd5026c22edb1d5b25ee2a12af25e225a708 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Tue, 3 Jun 2008 09:47:47 +0000 Subject: [PATCH] MDL-14967 fixing a dml change that had the params added to the wrong function call. --- admin/mnet/peers.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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'); } ?> -- 2.39.5