Xirt/XirtCMS — Issue #7: XModuleList throws error on inactive language
Author: Xirt
Created: 2012-03-07 11:27:31+00:00
State: open
Labels: bug

An error is thrown if a module is set for an unpublished language. The XModuleList should not consider showing these modules. Adding the following code on in line 141 in class/XModuleList.inc.php solves this problem:

```php
if (!isset($languages[$item->language])) {
continue;
}
```