1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 12:21:45 +02:00

Test all e_shortcode.php files in core. PHP8 Fix for featurebox.

This commit is contained in:
Cameron
2021-01-14 10:30:22 -08:00
parent aa3c267ef6
commit e51dfa1fc8
11 changed files with 127 additions and 22 deletions

View File

@@ -22,8 +22,8 @@ class hero_shortcodes extends e_shortcode
{
parent::__construct();
$pref = e107::pref('hero');
$this->active = check_class($pref['visibility']);
$visibility = e107::pref('hero', 'visibility');
$this->active = check_class($visibility);
}