Toflar/easy_themes — Issue #10: Normal
Author: Toflar
Created: 2012-01-27 13:27:51+00:00
State: open

Wenn im BE kein Theme angelegt ist bekommt man folgende Fehlermeldung:

```
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/e-c-o.at/subdomains/thei/htdocs/system/modules/easy_themes/EasyThemes.php on line 131

#0 /var/www/vhosts/e-c-o.at/subdomains/thei/htdocs/system/modules/easy_themes/EasyThemes.php(131): __error(2, 'Invalid argumen...', '/var/www/vhosts...', 131, Array)
#1 /var/www/vhosts/e-c-o.at/subdomains/thei/htdocs/system/modules/easy_themes/EasyThemes.php(89): EasyThemes->generateContainerContent()
#2 /var/www/vhosts/e-c-o.at/subdomains/thei/htdocs/system/modules/backend/BackendTemplate.php(57): EasyThemes->addContainer('parse()
#4 /var/www/vhosts/e-c-o.at/subdomains/thei/htdocs/contao/main.php(295): BackendTemplate->output()
#5 /var/www/vhosts/e-c-o.at/subdomains/thei/htdocs/contao/main.php(104): Main->output()
#6 /var/www/vhosts/e-c-o.at/subdomains/thei/htdocs/contao/main.php(304): Main->run()
#7 {main}

```

Patch folgt.
Leo

*--- Originally created by 01.07.2011 11:40 on 100.*