MetaModels/filter_checkbox — pull request #5 by Zeromax (2014-11-10 16:41:09+00:00)
Title: fixed passing argument to getAvailableLanguages

fixed problem with `getAvailableLanguages()`
-> https://github.com/MetaModels/filter_checkbox/commit/8d60837d9829be849428ae78d40b2e07f18b421b#diff-70869caa0d4a79a41909ca53b5d12833R187

```
Recoverable error: Argument 1 passed to MetaModels\Filter\Setting\Checkbox::getAvailableLanguages() must implement interface MetaModels\IMetaModel, none given, called in E:\www\projekt_2014\system\modules\metamodelsfilter_checkbox\classes\src\MetaModels\Filter\Setting\Checkbox.php on line 42 and defined in E:\www\projekt_2014\system\modules\metamodelsfilter_checkbox\classes\src\MetaModels\Filter\Setting\Checkbox.php on line 185

#0 E:\www\projekt_2014\system\modules\metamodelsfilter_checkbox\classes\src\MetaModels\Filter\Setting\Checkbox.php(185): __error(4096, 'Argument 1 pass...', 'E:\www\projekt_...', 185, Array)
#1 E:\www\projekt_2014\system\modules\metamodelsfilter_checkbox\classes\src\MetaModels\Filter\Setting\Checkbox.php(42): MetaModels\Filter\Setting\Checkbox->getAvailableLanguages()
#2 E:\www\projekt_2014\system\modules\metamodels\classes\src\MetaModels\Filter\Setting\Collection.php(216): MetaModels\Filter\Setting\Checkbox->prepareRules(Object(MetaModels\Filter\Filter), Array)
#3 E:\www\projekt_2014\system\modules\metamodels\classes\src\MetaModels\ItemList.php(588): MetaModels\Filter\Setting\Collection->addRules(Object(MetaModels\Filter\Filter), Array)
#4 E:\www\projekt_2014\system\modules\metamodels\classes\src\MetaModels\ItemList.php(754): MetaModels\ItemList->prepare()
#5 E:\www\projekt_2014\system\modules\metamodels\classes\src\MetaModels\FrontendIntegration\Module\ModelList.php(111): MetaModels\ItemList->render('', Object(MetaModels\FrontendIntegration\Module\ModelList))
#6 E:\www\projekt_2014\system\modules\core\modules\Module.php(148): MetaModels\FrontendIntegration\Module\ModelList->compile()
#7 E:\www\projekt_2014\system\modules\metamodels\classes\src\MetaModels\FrontendIntegration\Module\ModelList.php(63): Contao\Module->generate()
#8 E:\www\projekt_2014\system\modules\svg_base\library\SvgBase\Element\ContentModule.php(64): MetaModels\FrontendIntegration\Module\ModelList->generate()
#9 E:\www\projekt_2014\system\modules\core\library\Contao\Controller.php(456): SvgBase\Element\ContentModule->generate()
#10 E:\www\projekt_2014\system\modules\svg_base\library\SvgBase\Helper\ContentElement.php(100): Contao\Controller->getContentElement(Object(Contao\ContentModel), 'main')
#11 E:\www\projekt_2014\system\modules\svg_base\library\SvgBase\Helper\ContentElement.php(52): SvgBase\Helper\ContentElement->generateContentElement(Object(Contao\Model\Collection), 'main')
#12 E:\www\projekt_2014\system\modules\svg_base\library\SvgBase\Page\PageRegular.php(86): SvgBase\Helper\ContentElement->getContentElements('3', 'tl_page', 'main')
#13 E:\www\projekt_2014\system\modules\svg_base\library\SvgBase\Page\PageRegular.php(49): SvgBase\Page\PageRegular->getContentElements('3', 'tl_page', 'main')
#14 E:\www\projekt_2014\system\modules\core\pages\PageRegular.php(138): SvgBase\Page\PageRegular->getFrontendModule('0', 'main')
#15 E:\www\projekt_2014\index.php(256): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#16 E:\www\projekt_2014\index.php(440): Index->run()
#17 {main}
```