diff --git a/blocklanguages.php b/blocklanguages.php index 40e4b3d..f90066b 100644 --- a/blocklanguages.php +++ b/blocklanguages.php @@ -49,6 +49,10 @@ public function __construct() public function renderWidget($hookName = null, array $configuration = []) { + if (!Language::isMultiLanguageActivated()) { + return; + } + $this->smarty->assign($this->getWidgetVariables($hookName, $configuration)); return $this->display(__FILE__, 'blocklanguages.tpl'); }