mirror of
https://github.com/friendica/friendica
synced 2024-11-18 23:03:40 +00:00
Improve log message language in Module/Search/Index.php
Co-authored-by: Steffen K9 <admin@libranet.de>
This commit is contained in:
parent
2bd1e8cf65
commit
c8f385727e
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class Index extends BaseSearch
|
||||||
// Don't perform a fulltext or tag search on search results that look like an URL
|
// 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
|
// 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)) {
|
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]);
|
Logger::info('Skipping tag and fulltext search since the search looks like a URL.', ['q' => $search]);
|
||||||
notice(DI::l10n()->t('No results.'));
|
notice(DI::l10n()->t('No results.'));
|
||||||
return $o;
|
return $o;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue