diff --git a/modules/blocklanguages/blocklanguages.php b/modules/blocklanguages/blocklanguages.php
index 14a0035fc..c700f65e7 100644
--- a/modules/blocklanguages/blocklanguages.php
+++ b/modules/blocklanguages/blocklanguages.php
@@ -87,6 +87,7 @@ class BlockLanguages extends Module
if (count($default_rewrite))
$this->smarty->assign('lang_rewrite_urls', $default_rewrite);
}
+ return true;
}
/**
diff --git a/modules/blocksearch/blocksearch-top.tpl b/modules/blocksearch/blocksearch-top.tpl
index b54163427..e3f77fdb5 100644
--- a/modules/blocksearch/blocksearch-top.tpl
+++ b/modules/blocksearch/blocksearch-top.tpl
@@ -31,7 +31,7 @@
-
+
{else}
diff --git a/modules/blocksearch/blocksearch.php b/modules/blocksearch/blocksearch.php
index 98223f319..befe2d74d 100644
--- a/modules/blocksearch/blocksearch.php
+++ b/modules/blocksearch/blocksearch.php
@@ -51,10 +51,10 @@ class BlockSearch extends Module
return true;
}
- public function hookMobileTop($params)
+ public function hookDisplayMobileTop($params)
{
$this->smarty->assign('hook_mobile', true);
- $this->hookTop($params);
+ return $this->hookTop($params);
}
public function hookHeader($params)