cartalyst/sentry — pull request #55 by JesseObrien (2012-01-31 22:23:52+00:00)
Title: Fixing a nested group error

I was getting undefined index: parent when checking groups. I *think* this is a logical fix, if not let me know. Effectively $group['parent'] doesn't exist, and $parent is being passed as an integer. Referencing $group['id'] exploded everything, so I wrapped it up in an intval as I'm pretty sure (unless something drastic happens) that group id will always be an integer.