<< Back to Blog
Oops!
Admin
Yeah, so, thanks Jon. He pointed out a huge bug on my site. On my blog view page, I meant to be checking if the user has Admin rights, and if so, display the Edit and Delete Blog buttons. However, I accidentally passed the wrong variable to my display function ($groupAccess instead of $groups). The difference? I was checking to see if the blog could be viewed by someone with Admin rights - which ALL of them can! Oops. It's fixed now.
Thanks, dude. (And luckily for me, the last blog wasn't deleted, just made private. It's public again.)
Comments
Author: molotov
Thursday, December 21st, 2006 07:08:13 AM
:D
Thursday, December 21st, 2006 07:08:13 AM
:D






