]> git.mxchange.org Git - friendica.git/blobdiff - mod/match.php
Suppress InvalidArgument exceptions handling URLs in Model\Item::containsLink
[friendica.git] / mod / match.php
index 5b87c6870a630e8fb95befdc366da307a750265c..ea59d7ee619928ebd8b5bb93e38bb408d4ae917d 100644 (file)
@@ -23,7 +23,6 @@ use Friendica\App;
 use Friendica\Content\Widget;
 use Friendica\Core\Renderer;
 use Friendica\Core\Search;
-use Friendica\Core\Session;
 use Friendica\Database\DBA;
 use Friendica\DI;
 use Friendica\Model\Contact;
@@ -94,7 +93,7 @@ function match_content(App $a)
                DI::sysmsg()->addInfo(DI::l10n()->t('No matches'));
        }
 
-       $tpl = Renderer::getMarkupTemplate('viewcontact_template.tpl');
+       $tpl = Renderer::getMarkupTemplate('contact/list.tpl');
        $o = Renderer::replaceMacros($tpl, [
                '$title'    => DI::l10n()->t('Profile Match'),
                '$contacts' => array_slice($entries, 0, $limit),