fix an error in access.php

Not sure what any of this does, but the error is gone!