So it means that the index ['status'] probably doesn't exists! Check for it as you do for the ['Improvement'] index! Maybe it should be written as ['Status'] ? Enjoy, John
On Apr 2, 9:57 pm, rossjha <[email protected]> wrote: > foreach($results as $key => $val){ > > if(array_key_exists('Improvement', $val)){ > > $results[$key]['Improvement']['status'] = $this- > > >getStatus($results[$key]['Improvement']['status']); > [snip] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
