Skip to content

Commit

Permalink
Issue with content languages access in 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Feb 26, 2015
1 parent b992bda commit f51e58f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/system/languagefilter/languagefilter.php
Expand Up @@ -64,7 +64,7 @@ public function __construct(&$subject, $config)


foreach ($this->sefs as $sef => $language) foreach ($this->sefs as $sef => $language)
{ {
if (!in_array($language->access, $levels)) if (isset($language->access) && $language->access && !in_array($language->access, $levels))
{ {
unset($this->lang_codes[$language->lang_code]); unset($this->lang_codes[$language->lang_code]);
unset($this->sefs[$language->sef]); unset($this->sefs[$language->sef]);
Expand Down

0 comments on commit f51e58f

Please sign in to comment.