mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Hides empty admin-navigation menu categories when access has not been granted to these areas.
This commit is contained in:
@@ -263,7 +263,12 @@ class language{
|
||||
* @return FALSE or the name of the valid Language
|
||||
*/
|
||||
function isValid($lang='')
|
||||
{
|
||||
{
|
||||
if(empty($lang))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
global $pref;
|
||||
|
||||
if(!$lang)
|
||||
|
Reference in New Issue
Block a user