Check correct variable

JI-114
pull/10/merge
Frode Petterson 2017-04-11 09:35:17 +02:00
parent c475db843d
commit d81fa06499
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}