Closed
Description
Hi!
Thanks for this package :)
When I'm trying to use rebuildTree() method for my $data array I'm getting error:
ErrorException in helpers.php line 740: preg_replace(): Parameter mismatch, pattern is a string while replacement is an array
It works Ok when updating simple array like ['id' => '1], but when array looks like [[ 'id' => 1, 'children' => ['id' => 2]], ['id' => 3 ]] it throws exception.
Maybe somebody can advise me how to solve this problem :)
Metadata
Metadata
Assignees
Labels
No labels