Skip to content
Browse files

Initialize the $message variable properly this time.

  • Loading branch information...
1 parent dc2ea6f commit 9822b38f10740817e3bc1a30b3e0ce9e560e1a10 donal72 committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 enrol/mnet/enrol.php
View
3 enrol/mnet/enrol.php
@@ -425,6 +425,9 @@ function fetch_remote_courses($mnethostid) {
$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

0 comments on commit 9822b38

Please sign in to comment.
Something went wrong with that request. Please try again.