]> git.mjollnir.org Git - moodle.git/commitdiff
fixing a typo from the dml migration in mnet admin
authormjollnir_ <mjollnir_>
Wed, 13 Aug 2008 09:18:51 +0000 (09:18 +0000)
committermjollnir_ <mjollnir_>
Wed, 13 Aug 2008 09:18:51 +0000 (09:18 +0000)
admin/mnet/mnet_services.php

index 4e6b51b1594549844d34967355317cd1c4b3a943..6f837811430727c2a14efcd0fe2d819f99a1572e 100644 (file)
@@ -53,7 +53,7 @@
                     // We don't have or need a record - do nothing!
                 } else {
                     // We don't need the record - delete it
-                    $DB->delete_records('mnet_host2service', array('hostid', $_POST['hostid'], 'serviceid'=>$key));
+                    $DB->delete_records('mnet_host2service', array('hostid' => $_POST['hostid'], 'serviceid'=>$key));
                 }
             } elseif (false == $host2service && ($publish == 1 || $subscribe == 1)) {
                 $host2service = new stdClass();