mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
issue #3619: switched error message to LAN_NO_PERMISSIONS
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user