From d81fa06499bb259985a35d3e18f9efd9573c8aa6 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Tue, 11 Apr 2017 09:35:17 +0200 Subject: [PATCH] Check correct variable JI-114 --- h5p.classes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/h5p.classes.php b/h5p.classes.php index 19488c8..f4b4bef 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -2476,7 +2476,7 @@ class H5PCore { ); } - if ($this->h5pF->getOption('h5p_send_usage_statistics', TRUE)) { + if ($this->h5pF->getOption('send_usage_statistics', TRUE)) { $siteData = array_merge( $registrationData, array( @@ -2856,7 +2856,7 @@ class H5PCore { $endpoint = H5PHubEndpoints::CONTENT_TYPES; $data = $interface->fetchExternalData("{$protocol}://{$endpoint}", $postData); - if (! $this->h5pF->getOption('h5p_hub_is_enabled', TRUE)) { + if (! $this->h5pF->getOption('hub_is_enabled', TRUE)) { return TRUE; }