Closed (fixed)
Project:
User Comment
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2009 at 22:37 UTC
Updated:
17 Feb 2010 at 21:20 UTC
when setting the "skip author's approval queue when posting comments" permission for the module you get an error like "An illegal choice has been detected. Please contact the site administrator."
like noted here too http://drupal.org/node/469478#comment-1770562
fix : edit usercomment.module and find that string (line 191 & 312)
remove the single quote from the string like "skip authors approval..", i think drupal's permission system chokes on that one and it works ok afterwards
.......
$perms = array(
"skip authors approval queue when posting comments",
'administer comments on own content',
);
.......
}
elseif (user_access('skip authors approval queue when posting comments')) {
return FALSE;
}
.......
Comments
Comment #1
gwen commentedThis has been fixed in the 2.x-dev branch and will show up once the packaging script does its thing.