Corrected comment

This commit is contained in:
Michael 2020-09-20 09:38:31 +00:00
부모 6bdc55e13e
커밋 2bd1e8cf65
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@ -132,8 +132,8 @@ class Index extends BaseSearch
}
}
// Don't perform a fulltext or tag search on fulltext or tag
// Tags don't look like an URL and the fulltext search does only work with natual words
// Don't perform a fulltext or tag search on search results that look like an URL
// Tags don't look like an URL and the fulltext search does only work with natural words
if (parse_url($search, PHP_URL_SCHEME) && parse_url($search, PHP_URL_HOST)) {
Logger::info('Skipping tag and fulltext search since the search looks like an URL.', ['q' => $search]);
notice(DI::l10n()->t('No results.'));