Commit 4af158db authored by ZhuChunYang's avatar ZhuChunYang

update

parent 0d8d29d3
......@@ -99,7 +99,7 @@ class Coin extends BaseActiveRecord
public function updateOne($params)
{
$params = array_filter($params, function ($value) {
if (null == $value) {
if (null === $value) {
return false;
}
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment