1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

issue #3619: switched error message to LAN_NO_PERMISSIONS

This commit is contained in:
Achim Ennenbach
2019-01-16 19:09:53 +01:00
parent ce4c96d193
commit ae822adfcc

View File

@@ -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;
}