Changeset 3777


Ignore:
Timestamp:
Aug 22, 2009, 12:40:37 AM (11 years ago)
Author:
Eric
Message:

2.10.9f : Compatibility bug fixed when used with DynamicRecentPeriod plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/branches/2.10/main.inc.php

    r3740 r3777  
    22/*
    33Plugin Name: NBC UserAdvManager
    4 Version: 2.10.9e
     4Version: 2.10.9f
    55Description: Permet de renforcer les possibilités de gestion des utilisateurs - Enforce users management
    66Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=216
     
    4747                                eregi replace by preg_match with "i" moderator
    4848                                split replace by preg_split
     49
     50-- 2.10.9f : Compatibility bug fixed when used with DynamicRecentPeriod plugin
    4951
    5052*/
     
    300302        }
    301303        // periods must be integer values, they represents number of days
    302         if (!preg_match($int_pattern, $_POST['recent_period'])
     304        /* Commented to fix compatibility problem with Dynamic Recent Period Plugin */
     305        /* This don't impact the plugin functionnalities */
     306        /*if (!preg_match($int_pattern, $_POST['recent_period'])
    303307            or $_POST['recent_period'] <= 0)
    304308        {
    305309          $errors[] = l10n('periods_error') ;
    306         }
     310        }*/
    307311
    308312        if (isset($_POST['mail_address']))
Note: See TracChangeset for help on using the changeset viewer.