配置管理优化
This commit is contained in:
parent
e82e058550
commit
010cc10d53
@ -198,7 +198,7 @@ class Config extends CatchModel
|
||||
->select();
|
||||
|
||||
foreach ($configs as $config) {
|
||||
if ($config->value) {
|
||||
if ($config->value !== '') {
|
||||
$data[$config->k] = $config->value;
|
||||
} else {
|
||||
$data[$config->k] = $this->getConfig($config->id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user