I have this code below in my constructor. Basically this will assign the username and a list of categories to the $username and $categories respectively.
But for some reason, when I call the variable form the view files, PHP throws notice errors regarding undefined variables.
It was working when I was using CI 2.0.2. The problem exists when I upgraded to CI 2.0.3
'username' => $this->tank_auth->get_username(),
'categories' => $this->categories(NULL, TRUE)
I finally got it fixed. Sorry about this, turns out the problem is in the parser library I'm using...