daveb
committed
on 30 Dec 04
Fix typo in query for permissions checking.