From: Michael Date: Sun, 20 Sep 2020 09:38:31 +0000 (+0000) Subject: Corrected comment X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2bd1e8cf6509217eedd864c509a9bfbf67819621;p=friendica.git Corrected comment --- diff --git a/src/Module/Search/Index.php b/src/Module/Search/Index.php index 0cada373c6..712edad023 100644 --- a/src/Module/Search/Index.php +++ b/src/Module/Search/Index.php @@ -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.'));