- Timestamp:
- Jun 2, 2011, 10:22:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Comments_Access_Manager/include/functions.inc.php
r11208 r11214 52 52 } 53 53 54 if ((isset($conf_CM[6]) and $conf_CM[6] == 'true') and !is_a_guest() )54 if ((isset($conf_CM[6]) and $conf_CM[6] == 'true') and !is_a_guest() and $conf['comments_validation']) 55 55 { 56 56 if (CM_CheckValidGroup($comm['author']) or is_admin()) … … 75 75 elseif ((isset($conf_CM[2]) and $conf_CM[2] == 'false') and (isset($conf_CM[4]) and $conf_CM[4] == 'true') and $conf['comments_validation']) // Comments authorized group unset - Auto validation group set 76 76 { 77 if (CM_CheckValidGroup($comm['author']) )77 if (CM_CheckValidGroup($comm['author']) and $conf['comments_validation']) 78 78 { 79 79 $comment_action = 'validate'; // Comment is validated if author is not in the validated group … … 91 91 array_push($infos, l10n('CM_Not_Allowed_Author')); 92 92 } 93 elseif (CM_CheckValidGroup($comm['author']) )93 elseif (CM_CheckValidGroup($comm['author']) and $conf['comments_validation']) 94 94 { 95 95 $comment_action = 'validate'; // Comment is validated if author is not in the validated group
Note: See TracChangeset
for help on using the changeset viewer.