From: donal72 Date: Thu, 1 Nov 2007 21:30:37 +0000 (+0000) Subject: Initialize the $message variable properly this time. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=254f0c073a1c8233da1a5be61be7e5bcc4cac4bb;p=moodle.git Initialize the $message variable properly this time. --- diff --git a/enrol/mnet/enrol.php b/enrol/mnet/enrol.php index 28c3304ee7..650f3dc97e 100644 --- a/enrol/mnet/enrol.php +++ b/enrol/mnet/enrol.php @@ -425,6 +425,9 @@ class enrolment_plugin_mnet { $mnetrequest = new mnet_xmlrpc_client(); $mnetrequest->set_method('enrol/mnet/enrol.php/available_courses'); + // Initialise $message + $message = ''; + // TODO: cache for a while (10 minutes?) // Thunderbirds are go! Do RPC call and store response