fixed bug
This commit is contained in:
parent
129582a446
commit
3d65d111ee
@ -112,13 +112,13 @@ class Config extends CatchModel
|
||||
}
|
||||
} else {
|
||||
if (!is_array($value)) {
|
||||
parent::storeBy([
|
||||
parent::createBy([
|
||||
'pid' => $pid,
|
||||
'key' => $key,
|
||||
'value' => $value,
|
||||
]);
|
||||
} else {
|
||||
$id = parent::storeBy([
|
||||
$id = parent::createBy([
|
||||
'pid' => $pid,
|
||||
'key' => $key,
|
||||
]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user