When a user edits an article where an admin with 'administer comments' changed the 'User comments' settings these settings are not kept and are reset to the defaults for the node type....
bad code here.... The code is correct for new nodes, not for edited nodes
case 'validate':
if (!user_access('administer comments')) {
// Force default for normal users:
$node->comment = variable_get("comment_$node->type", 2);
}
I have no clue yet of how to fix this...
Comments
Comment #1
bwynants commentedThis will fix it I think. However is that the way it's usually done?
Comment #2
magico commentedComment #3
magico commentedNobody cared. It isn't critical. The majority already uses 4.7+