Commit 2fb70cf0 by Qiang Xue

Fixes #3158

parent 520011ff
...@@ -552,7 +552,7 @@ class DbManager extends BaseManager ...@@ -552,7 +552,7 @@ class DbManager extends BaseManager
{ {
return (new Query) return (new Query)
->from($this->itemChildTable) ->from($this->itemChildTable)
->where(['parent' => $parent->name, 'child' => $child->$name]) ->where(['parent' => $parent->name, 'child' => $child->name])
->one($this->db) !== false; ->one($this->db) !== false;
} }
......
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