1
0

Prevent FF filling in wrong db password ()

This commit is contained in:
onli
2016-01-15 16:33:30 +01:00
parent 9fe8fb960b
commit c98e858886
3 changed files with 13 additions and 1 deletions

@ -494,6 +494,10 @@ function serendipity_printConfigTemplate($config, $from = false, $noForm = false
$item['default'] = serendipity_probeInstallation($item['var']);
}
if (in_array('ignore', $item['flags'])) {
$item['ignore'] = true;
}
if (in_array('ifEmpty', $item['flags']) && empty($value)) {
$value = serendipity_query_default($item['var'], $item['default']);
}