X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=src%2FModule%2FBaseSearchModule.php;h=ed39f071ca61c92c898aa1a702ccd638f04cfbf2;hb=f19136905ffe104e12484aba5bca5adeefa4b133;hp=3393b34123923fe05669a5004ca51093ae85f2b0;hpb=5c2cca432fe6b310df4bcf8dd1f002f5096693c0;p=friendica.git diff --git a/src/Module/BaseSearchModule.php b/src/Module/BaseSearchModule.php index 3393b34123..ed39f071ca 100644 --- a/src/Module/BaseSearchModule.php +++ b/src/Module/BaseSearchModule.php @@ -50,7 +50,10 @@ class BaseSearchModule extends BaseModule $search = substr($search, 1); $type = Search::TYPE_PEOPLE; $header = L10n::t('People Search - %s', $search); - $results = Search::getContactsFromProbe($search); + + if (strrpos($search, '@') > 0) { + $results = Search::getContactsFromProbe($search); + } } if (strpos($search, '!') === 0) {