Hi!

I have a tree structure like this:

Array (
        [0] => Array (
                [Location] => Array (
                        [id] => 1
                        [parent_id] =>
                        [lft] => 1
                        [rght] => 32
                        [name_en] => Tokyo
                        ...
                )
                [children] => Array (
                        [0] => Array (
                                [Location] => Array (
                                        [id] => 58
                                        ...

I'm trying to extract all children of the Location "Tokyo" and I  
expected to do it with the following Xpath:

Set::extract('/Location[name_en=Tokyo]/../children', $data);

But Set just gives me an undefined offset: 0 [CORE/cake/libs/set.php,  
line 403].
Seems ticket 5225 (https://trac.cakephp.org/ticket/5225) is not fixed  
yet after all? (trying this on very latest checkout 7573)

Chrs,
Dav

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to