diff --git a/search/ContentControllerSearchExtension.php b/search/ContentControllerSearchExtension.php index 7cba78ed7..ba7930dfe 100644 --- a/search/ContentControllerSearchExtension.php +++ b/search/ContentControllerSearchExtension.php @@ -17,7 +17,7 @@ class ContentControllerSearchExtension extends Extension { function SearchForm() { $searchText = _t('SearchForm.SEARCH', 'Search'); - if($this->owner->request) { + if($this->owner->request && $this->owner->request->getVar('Search')) { $searchText = $this->owner->request->getVar('Search'); }