2006-01-12 13:26:53 Mysterious Bug
( php )
  1 $caneditposts=(bool)currentusercan('editposts');
2 //echo $caneditposts."<br/>";
3 if (!$caneditposts)
4 die(
_('You do not have permission to edit posts.'));
5 //echo "we got past the permissions logic"."<br/>";
Leave a comment