]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact.php
Improved definition style
[friendica.git] / src / Module / Contact.php
index be6f16a5303725d4f87e5fb2ba0d41407a94cfb6..84420afaad9129476e6fe27831e4a0ff76932421 100644 (file)
@@ -513,7 +513,7 @@ class Contact extends BaseModule
                                $relation_text = '';
                        }
 
-                       if (!in_array($contact['network'], Protocol::FEDERATED)) {
+                       if (!in_array($contact['network'], array_merge(Protocol::FEDERATED, [Protocol::TWITTER]))) {
                                $relation_text = '';
                        }
 
@@ -731,7 +731,7 @@ class Contact extends BaseModule
                }
                DBA::close($stmt);
 
-               $pager = new Pager(DI::args()->getQueryString());
+               $pager = new Pager(DI::l10n(), DI::args()->getQueryString());
 
                $sql_values[] = $pager->getStart();
                $sql_values[] = $pager->getItemsPerPage();