From e88a23d26505364d3d4772833c03c8aaaf461930 Mon Sep 17 00:00:00 2001 From: thomasmars Date: Thu, 23 Feb 2017 14:54:37 +0100 Subject: [PATCH] Changed hub variable name to match new settings name HFP-502 --- h5p.classes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h5p.classes.php b/h5p.classes.php index c4ad467..d942c25 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -2822,7 +2822,7 @@ class H5PCore { public function checkSetupForRequirements() { $errors = $this->checkSetupErrorMessage(); - $this->h5pF->setOption('hub_is_disabled', !empty($errors)); + $this->h5pF->setOption('hub_is_enabled', !empty($errors)); if (!empty($errors)) { foreach ($errors as $err) { $this->h5pF->setErrorMessage($err);