Changeset 11208 for extensions


Ignore:
Timestamp:
Jun 2, 2011, 2:58:37 PM (13 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

Location:
extensions/Comments_Access_Manager
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/Comments_Access_Manager/changelog.txt

    r11204 r11208  
    99
    1010      2.2.3 - Bug fixed : If "Comments for all" is disabled and guest user uses a nickname already in use, the comment was automatically accepted and validated.
     11     
     12      2.2.4 - Bug fixed : Installation from scratch error.
     13              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.
  • 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())
  • extensions/Comments_Access_Manager/main.inc.php

    r11204 r11208  
    22/*
    33Plugin Name: Comments Access Manager
    4 Version: 2.2.3
     4Version: 2.2.4
    55Description: Gérer l'accès aux commentaites - Manage comments access
    6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=
     6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=545
    77Author: Eric
    88Author URI: http://www.infernoweb.net
  • extensions/Comments_Access_Manager/maintain.inc.php

    r11070 r11208  
    1616  $version = $plugin['version'];
    1717       
    18   $default = array($version,'false','false',-1,'false',-1);
     18  $default = array($version,'false','false',-1,'false',-1,'false',-1);
    1919
    2020        $query = '
Note: See TracChangeset for help on using the changeset viewer.