mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正
This commit is contained in:
@@ -1074,7 +1074,7 @@ abstract class Model implements \JsonSerializable, \ArrayAccess
|
|||||||
|
|
||||||
foreach ((array) $pk as $key) {
|
foreach ((array) $pk as $key) {
|
||||||
if (isset($data[$key])) {
|
if (isset($data[$key])) {
|
||||||
$array[] = [$key, '=', $data[$key]];
|
$array[$key] = $data[$key];
|
||||||
unset($data[$key]);
|
unset($data[$key]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user