X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FBaseNotifications.php;h=45975672b48494410e39514dfdf1bc7bc114db5e;hb=eb2c42a9fb0c5342f413e86b4eea3e705e43418e;hp=a011961b67ede1026b6ce2737c1b4ba71dedb373;hpb=1a0b63659b0bbab0c09e579ef89f2e5eb25fbb3c;p=friendica.git diff --git a/src/Module/BaseNotifications.php b/src/Module/BaseNotifications.php index a011961b67..45975672b4 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.')); }