Preload Adapter Fix
This commit is contained in:
parent
a3152a96c2
commit
2fc81898da
5 changed files with 36 additions and 14 deletions
|
@ -32,7 +32,10 @@ class PreloadConfigAdapter extends AbstractDbaConfigAdapter implements IConfigAd
|
|||
|
||||
$configs = DBA::select('config', ['cat', 'v', 'k']);
|
||||
while ($config = DBA::fetch($configs)) {
|
||||
$return[$config['cat']][$config['k']] = $config['v'];
|
||||
$value = $config['v'];
|
||||
if (isset($value) && $value !== '') {
|
||||
$return[$config['cat']][$config['k']] = $value;
|
||||
}
|
||||
}
|
||||
DBA::close($configs);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue