Fix bad default value set
This commit is contained in:
parent
acfbc74f06
commit
c5fea74716
1 changed files with 3 additions and 1 deletions
|
|
@ -226,13 +226,15 @@ foreach ($syslogModules as $moduleName) {
|
|||
|
||||
print '<td class="nowrap">';
|
||||
$setuparray = $module->configure();
|
||||
|
||||
if ($setuparray) {
|
||||
foreach ($setuparray as $option) {
|
||||
$tmpoption = $option['constant'];
|
||||
$value = '';
|
||||
if (!empty($tmpoption)) {
|
||||
if (GETPOSTISSET($tmpoption)) {
|
||||
$value = GETPOST($tmpoption);
|
||||
} elseif (getDolGlobalString($tmpoption)) {
|
||||
} else {
|
||||
$value = getDolGlobalString($tmpoption);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue