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