X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FBaseNotifications.php;h=117530d2567fd1df738e82578e27268a4d8b0b3a;hb=c81a9d1ddd7e5b7fff6a173a159ae78ee7fc7698;hp=a011961b67ede1026b6ce2737c1b4ba71dedb373;hpb=22198ea495f1f597d20dd2084c38df0df45778f7;p=friendica.git diff --git a/src/Module/BaseNotifications.php b/src/Module/BaseNotifications.php index a011961b67..117530d256 100644 --- a/src/Module/BaseNotifications.php +++ b/src/Module/BaseNotifications.php @@ -1,6 +1,6 @@ getLocalUserId()) { + if (!$session->getLocalUserId()) { throw new ForbiddenException($this->t('Permission denied.')); } @@ -158,7 +158,7 @@ abstract class BaseNotifications extends BaseModule /** * List of pages for the Notifications TabBar * - * @return array with with notifications TabBar data + * @return array with notifications TabBar data * @throws Exception */ private function getTabs()