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