negative set
This commit is contained in:
parent
2fc81898da
commit
5157084969
|
@ -35,6 +35,8 @@ class PreloadConfigAdapter extends AbstractDbaConfigAdapter implements IConfigAd
|
||||||
$value = $config['v'];
|
$value = $config['v'];
|
||||||
if (isset($value) && $value !== '') {
|
if (isset($value) && $value !== '') {
|
||||||
$return[$config['cat']][$config['k']] = $value;
|
$return[$config['cat']][$config['k']] = $value;
|
||||||
|
} else {
|
||||||
|
$return[$config['cat']][$config['k']] = '!<unset>!';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DBA::close($configs);
|
DBA::close($configs);
|
||||||
|
|
|
@ -47,6 +47,8 @@ class PreloadPConfigAdapter extends AbstractDbaConfigAdapter implements IPConfig
|
||||||
$value = $pconfig['v'];
|
$value = $pconfig['v'];
|
||||||
if (isset($value) && $value !== '') {
|
if (isset($value) && $value !== '') {
|
||||||
$return[$pconfig['cat']][$pconfig['k']] = $value;
|
$return[$pconfig['cat']][$pconfig['k']] = $value;
|
||||||
|
} else {
|
||||||
|
$return[$pconfig['cat']][$pconfig['k']] = '!<unset>!';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DBA::close($pconfigs);
|
DBA::close($pconfigs);
|
||||||
|
|
Loading…
Reference in a new issue