Ignore:
Timestamp:
Jun 2, 2011, 2:58:37 PM (9 years ago)
Author:
Eric
Message:

Bug fixed : Installation from scratch error.
Bug fixed : If "Comments for all" is disabled and a specified group of users can post comments without admin validation, the administrator had to still validate them.
New version 2.2.4 hard coded for publication

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Comments_Access_Manager/include/functions.inc.php

    r11204 r11208  
    5151      array_push($infos, l10n('CM_Empty Author'));
    5252    }
    53     elseif ((isset($conf_CM[6]) and $conf_CM[6] == 'true') and !$comm['author'] == 'guest')
     53   
     54    if ((isset($conf_CM[6]) and $conf_CM[6] == 'true') and !is_a_guest())
    5455    {
    5556      if (CM_CheckValidGroup($comm['author']) or is_admin())
Note: See TracChangeset for help on using the changeset viewer.