Changeset 3778


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

Compatibility bug fixed when used with DynamicRecentPeriod plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Register_FluxBB/trunk/main.inc.php

    r3738 r3778  
    22/*
    33Plugin Name: Register FluxBB
    4 Version: 2.1.1
     4Version: 2.1.2
    55Description: Link user registration from Piwigo to FluxBB forum (registration, password changing, deletion) - Original Nicco's NBC_LinkUser2PunBB plugin upgraded to Piwigo / Liez l'inscription des utilisateurs de Piwigo avec votre forum FluxBB - Portage du plugin NBC_LinkUser2PunBB de Nicco vers Piwigo
    66Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=252
     
    2929                                                        - Language files (fr - en) improvement
    3030
    31 2.1.1                   - 30/04/09      - Bux fixed on profile update
     312.1.1                   - 30/04/09      - Bug fixed on profile update
     32
     332.1.2                   - 22/08/09      - Compatibility bug fixed when used with DynamicRecentPeriod plugin
    3234
    3335--------------------------------------------------------------------------------
     
    120122        $errors[] = l10n('maxheight_error');
    121123      }
    122       // periods must be integer values, they represents number of days
    123       if (!preg_match($int_pattern, $_POST['recent_period'])
    124           or $_POST['recent_period'] <= 0)
    125       {
    126         $errors[] = l10n('periods_error') ;
    127       }
     124        // periods must be integer values, they represents number of days
     125        /* Commented to fix compatibility problem with Dynamic Recent Period Plugin */
     126        /* This don't impact the plugin functionnalities */
     127        /*if (!preg_match($int_pattern, $_POST['recent_period'])
     128            or $_POST['recent_period'] <= 0)
     129        {
     130          $errors[] = l10n('periods_error') ;
     131        }*/
    128132   
    129133      if (isset($_POST['mail_address']))
Note: See TracChangeset for help on using the changeset viewer.