diff --git a/repository/merlot/lib.php b/repository/merlot/lib.php index 01af4404903f7..341d4f24ff867 100644 --- a/repository/merlot/lib.php +++ b/repository/merlot/lib.php @@ -85,7 +85,7 @@ public function get_listing($path = '', $page = '') { private function _get_collection($keyword) { global $OUTPUT; $list = array(); - $this->api = 'http://www.merlot.org/merlot/materials.rest?keywords=' . urlencode($keyword) . '&licenseKey='.$this->licensekey; + $this->api = 'https://www.merlot.org/merlot/materials.rest?keywords=' . urlencode($keyword) . '&licenseKey='.$this->licensekey; $c = new curl(array('cache'=>true, 'module_cache'=>'repository')); $content = $c->get($this->api); $xml = simplexml_load_string($content);