Closed (fixed)
Project:
FAQ_Ask
Version:
6.x-2.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2009 at 18:23 UTC
Updated:
2 Nov 2009 at 17:00 UTC
seems that checking t('ask question') as a permission can cause an error when using non-english installations.
if ($op == 'create') {
return user_access(t('ask question')) || user_access('answer question');
}
Comments
Comment #1
nancydruYou are correct, that was an oversight when I fixed the incorrect usage a log time ago.
Committed to 6.x-2.x-dev.