We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
经跟踪src/Model.php文件941行错误 将原来代码
src/Model.php
if ($this->key) { $where = [$pk => $this->key]; } elseif (is_string($pk) && isset($this->origin[$pk])) { $where = [$pk => $this->origin[$pk]]; $this->key = $this->origin[$pk]; } elseif (is_array($pk)) { foreach ($pk as $field) { if (isset($this->origin[$field])) { $where[] = [$field, '=', $this->origin[$field]]; } } }
修改为:
if ($this->key) { if (is_array($this->key)) { foreach ($this->key as $field) { if (isset($this->origin[$field])) { $where[] = [$field, '=', $this->origin[$field]]; } } } else { $where = [$pk => $this->key]; } } elseif (is_string($pk) && isset($this->origin[$pk])) { $where = [$pk => $this->origin[$pk]]; $this->key = $this->origin[$pk]; } elseif (is_array($pk)) { foreach ($pk as $field) { if (isset($this->origin[$field])) { $where[] = [$field, '=', $this->origin[$field]]; } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
经跟踪
src/Model.php
文件941行错误将原来代码
修改为:
The text was updated successfully, but these errors were encountered: