Making sure displayoptions.icon is a boolean [HFP-277]

JI-92-path-fix
Paal Joergensen 2016-12-21 15:17:36 +01:00
parent 671c079eee
commit e00bdbd125
1 changed files with 1 additions and 1 deletions

View File

@ -2615,7 +2615,7 @@ class H5PCore {
self::DISPLAY_OPTION_DOWNLOAD => !($disable & H5PCore::DISABLE_DOWNLOAD),
self::DISPLAY_OPTION_EMBED => !($disable & H5PCore::DISABLE_EMBED),
self::DISPLAY_OPTION_COPYRIGHT => !($disable & H5PCore::DISABLE_COPYRIGHT),
self::DISPLAY_OPTION_ABOUT => $this->h5pF->getOption(self::DISPLAY_OPTION_ABOUT, TRUE),
self::DISPLAY_OPTION_ABOUT => !!$this->h5pF->getOption(self::DISPLAY_OPTION_ABOUT, TRUE),
);
}