Panel restriction bug

Fixed a panel restriction bug reported by Ankur here

http://www.8.php-fusion.net/forum/viewthread.php?thread_id=4015&pid=28176