R. Alan Beam II
Home MenuBio MenuPersonal MenuProfessional MenuLinks MenuContact Menu
Want to post comments? Want Control? How about more access? Please Login or Register
<< 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.)

Thursday, December 21st, 2006 12:23:18 PM

Comments


Author: molotov
Thursday, December 21st, 2006 07:08:13 AM

:D



Footer