diff --git a/lam/lib/config.inc b/lam/lib/config.inc
index eebab9eb..d62672e9 100644
--- a/lam/lib/config.inc
+++ b/lam/lib/config.inc
@@ -227,7 +227,7 @@ class Config {
if (strtolower(substr($line, 0, $keylen + 2)) == "modules: ") {
$option = substr($line, $keylen + 2, strlen($line) - $keylen - 2);
$pos = strpos($option, ":");
- $this->moduleSettings[substr($option, 0, $pos)] = substr($option, $pos + 2, strlen($option) - $pos - 2);
+ $this->moduleSettings[substr($option, 0, $pos)] = explode("+::+", substr($option, $pos + 2, strlen($option) - $pos - 2));
}
// general settings
else {
@@ -269,7 +269,7 @@ class Config {
$option = substr($line, $keylen + 2, strlen($line) - $keylen - 2);
$pos = strpos($option, ":");
$name = substr($option, 0, $pos);
- $file_array[$i] = "modules: " . $name . ": " . $this->moduleSettings[$name] . "\n";
+ $file_array[$i] = "modules: " . $name . ": " . implode("+::+", $this->moduleSettings[$name]) . "\n";
$mod_saved[] = $name; // mark keyword as saved
}
// general settings
@@ -365,7 +365,7 @@ class Config {
echo "" . _("Module settings") . ":
\n";
echo "