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