mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 01:25:01 +02:00
Issue #2883 Permission fixes.
This commit is contained in:
@@ -56,6 +56,11 @@ if(USER && !getperms('0') && vartrue($pref['multilanguage']) && !getperms(e_LANG
|
||||
$tmp = explode(".",ADMINPERMS);
|
||||
foreach($tmp as $ln)
|
||||
{
|
||||
if(strlen($ln) < 3) // not a language perm.
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if($lng->isValid($ln))
|
||||
{
|
||||
$redirect = deftrue("MULTILANG_SUBDOMAIN") ? $lng->subdomainUrl($ln) : e_SELF."?elan=".$ln;
|
||||
|
Reference in New Issue
Block a user