[eluser]brandingdavid[/eluser]
Seems like the category model has issues. In function get_all, you have an array created called $parents, from the query that gets all top level categories.
The result is:
Array ( [0] => Array ( [id] => 1 [title] => Information Technology [parent] => 0 [menu_index] => 4 [depth] => 0 ) [1] => Array ( [id] => 2 [title] => Human Resources [parent] => 0 [menu_index] => 1 [depth] => 0 ) [2] => Array ( [id] => 3 [title] => Planning [parent] => 0 [menu_index] => 3 [depth] => 0 ) )
You then proceed to go through and try to assign it children, but for some reason, that's not working.
$results[$x]['parent'] = $parent; seems like it could be the issue. I am unable to print_r or echo out anything from there to check what the problem could be.