]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/BaseNotifications.php
Merge pull request #9577 from annando/updateprofile
[friendica.git] / src / Module / BaseNotifications.php
index 9e7b1cd9797ee828480272235408e9bfa1730138..4715641c2f59233258c583eb76efea50de60d85e 100644 (file)
@@ -102,7 +102,7 @@ abstract class BaseNotifications extends BaseModule
                }
 
                // Set the pager
-               $pager = new Pager(DI::args()->getQueryString(), self::ITEMS_PER_PAGE);
+               $pager = new Pager(DI::l10n(), DI::args()->getQueryString(), self::ITEMS_PER_PAGE);
 
                // Add additional informations (needed for json output)
                $notifications = [
@@ -132,7 +132,7 @@ abstract class BaseNotifications extends BaseModule
                $tabs = self::getTabs();
 
                // Set the pager
-               $pager = new Pager(DI::args()->getQueryString(), self::ITEMS_PER_PAGE);
+               $pager = new Pager(DI::l10n(), DI::args()->getQueryString(), self::ITEMS_PER_PAGE);
 
                $notif_tpl = Renderer::getMarkupTemplate('notifications/notifications.tpl');
                return Renderer::replaceMacros($notif_tpl, [