fixed saving of new settings
This commit is contained in:
parent
bf5c6ca469
commit
aa052ebf10
|
@ -320,7 +320,7 @@ class Config {
|
||||||
$m_settings = array_keys($this->moduleSettings);
|
$m_settings = array_keys($this->moduleSettings);
|
||||||
for ($i = 0; $i < sizeof($m_settings); $i++) {
|
for ($i = 0; $i < sizeof($m_settings); $i++) {
|
||||||
if (!in_array($m_settings[$i], $mod_saved)) {
|
if (!in_array($m_settings[$i], $mod_saved)) {
|
||||||
array_push($file_array, "modules: " . $m_settings[$i] . ": " . $this->moduleSettings[$m_settings[$i]] . "\n");
|
array_push($file_array, "modules: " . $m_settings[$i] . ": " . implode("+::+", $this->moduleSettings[$m_settings[$i]]) . "\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$file = fopen($conffile, "w");
|
$file = fopen($conffile, "w");
|
||||||
|
|
Loading…
Reference in New Issue