fixed problem with no longer existing modules

This commit is contained in:
Roland Gruber 2012-04-06 08:39:24 +00:00
parent de8c4b3f15
commit 9e65d8d58a
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ class LAMConfig {
for ($i = 0; $i < sizeof($modules); $i++) { for ($i = 0; $i < sizeof($modules); $i++) {
if (in_array($modules[$i], $available)) $ret[] = $modules[$i]; if (in_array($modules[$i], $available)) $ret[] = $modules[$i];
} }
$this->$moduleVar = implode(",", $ret); $this->typeSettings[$moduleVar] = implode(",", $ret);
} }
} }
return true; return true;