I had the same issue, but as you point out, I thought that a banned member is not likely to post new offenses, so it would be impossible to get new warnings for them. Still, from a good-coding point of view, you are right, it should be taken into consideration.
Your code should work fine, although there is no point in saving adminid twice, in the first part of the if statement, right? LoL
rgds
--------
John
|