From 467f97c11f232772309d51b02bbff8b30130ab61 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Tue, 28 Apr 2015 12:42:36 +0200 Subject: [PATCH] Use correct uuid variable --- h5p.classes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h5p.classes.php b/h5p.classes.php index 1a3544b..30d99dc 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -2305,7 +2305,7 @@ class H5PCore { public function fetchLibrariesMetadata($fetchingDisabled = FALSE) { $platformInfo = $this->h5pF->getPlatformInfo(); $platformInfo['autoFetchingDisabled'] = $fetchingDisabled; - $platformInfo['uuid'] = $this->h5pF->getOption('h5p_site_uuid', ''); + $platformInfo['uuid'] = $this->h5pF->getOption('site_uuid', ''); // Adding random string to GET to be sure nothing is cached $random = substr(str_shuffle("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 5); $json = $this->h5pF->fetchExternalData('http://h5p.org/libraries-metadata.json?api=1&platform=' . urlencode(json_encode($platformInfo)) . '&x=' . urlencode($random));