Closed toroworx closed 6 years ago
I had issues with the TreeModel. The first find() worked fine, the next one failed. A simplified quote of my code:
foreach ($ids as $id) { $this->treeModel->find($id); }
whereClauses was not reset which caused this issue. This PR fixed it.
whereClauses
You are, of course, correct. reset() should completely reset the Model state.
I had issues with the TreeModel. The first find() worked fine, the next one failed. A simplified quote of my code:
whereClauses
was not reset which caused this issue. This PR fixed it.