From ae822adfcc90554e214bb63dc9923d3b3a81bfb7 Mon Sep 17 00:00:00 2001 From: Achim Ennenbach Date: Wed, 16 Jan 2019 19:09:53 +0100 Subject: [PATCH] issue #3619: switched error message to LAN_NO_PERMISSIONS --- e107_plugins/forum/forum_post.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/e107_plugins/forum/forum_post.php b/e107_plugins/forum/forum_post.php index 42c579983..2c7bb6293 100644 --- a/e107_plugins/forum/forum_post.php +++ b/e107_plugins/forum/forum_post.php @@ -820,9 +820,8 @@ class forum_post_handler if(!deftrue('MODERATOR')) { - // todo: LAN for new error message $mes = e107::getMessage(); - echo $mes->addWarning('You do not have access to this area!')->render(); + echo $mes->addWarning(LAN_NO_PERMISSIONS)->render(); return; }