Fixed incorrect hub enabled value after server check

HFP-502
pull/38/head
thomasmars 2017-02-23 15:22:55 +01:00
parent e88a23d265
commit 585f4d238a
1 changed files with 1 additions and 1 deletions

View File

@ -2822,7 +2822,7 @@ class H5PCore {
public function checkSetupForRequirements() {
$errors = $this->checkSetupErrorMessage();
$this->h5pF->setOption('hub_is_enabled', !empty($errors));
$this->h5pF->setOption('hub_is_enabled', empty($errors));
if (!empty($errors)) {
foreach ($errors as $err) {
$this->h5pF->setErrorMessage($err);