I get a small bug and error logs which I have traced back to the permission system.
Heres the deal;
The error message is as follows:
8: Undefined index: label
Now this only happened with users on 0 messages, which got me thinking that it was a permission problem.
What happens is, my 0 message users DON'T have permissions to view OTHER user profiles, only their own.
If a 0 message user goes into his profile screen, the ThankOMatic menu appears ($txt['thankyoutitle']), however the subsection menu does not appear. Its empty.
If I set the permission to view other profiles to ON, then the menu appears and I get no error message in the log.
The question is. How can I get rid of the error without changing the permissions? (I don't want 0 message users looking at other user profiles...)