diff --git a/plugins/system/helixultimate/src/Core/HelixUltimate.php b/plugins/system/helixultimate/src/Core/HelixUltimate.php index 3c798daf..7a62c300 100644 --- a/plugins/system/helixultimate/src/Core/HelixUltimate.php +++ b/plugins/system/helixultimate/src/Core/HelixUltimate.php @@ -972,6 +972,7 @@ private function reshape_device_class($device = '', $class = '') */ public function count_modules($position) { + $position = Helper::CheckNull($position); return ($this->doc->countModules($position) || $this->has_feature($position)); } @@ -1017,17 +1018,6 @@ private function has_feature($position) */ public function after_body() { - // if ($this->params->get('compress_css')) - // { - // $this->compress_css(); - // } - - // if ($this->params->get('compress_js')) - // { - // $this->compress_js($this->params->get('exclude_js')); - // } - - if ($before_body = $this->params->get('before_body')) { echo $before_body . "\n";