Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix array_values() warning when using Tree Behavior under certain
situations. In TreeBehavior::_setParent(), if the $Model->find('first') returned false, then array_values() would throw a warning.
- Loading branch information