Fixed PHP notice in user profile (forumpost count) and syntax cleanup
Merge pull request #496 from Moc/master

Fixed PHP notice in user profile (forumpost count) and syntax cleanup