Index: /extensions/Register_FluxBB/trunk/main.inc.php
===================================================================
--- /extensions/Register_FluxBB/trunk/main.inc.php	(revision 3738)
+++ /extensions/Register_FluxBB/trunk/main.inc.php	(revision 3778)
@@ -2,5 +2,5 @@
 /*
 Plugin Name: Register FluxBB
-Version: 2.1.1
+Version: 2.1.2
 Description: 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
 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=252
@@ -29,5 +29,7 @@
 							- Language files (fr - en) improvement
 
-2.1.1			- 30/04/09	- Bux fixed on profile update
+2.1.1			- 30/04/09	- Bug fixed on profile update
+
+2.1.2			- 22/08/09	- Compatibility bug fixed when used with DynamicRecentPeriod plugin
 
 --------------------------------------------------------------------------------
@@ -120,10 +122,12 @@
         $errors[] = l10n('maxheight_error');
       }
-      // periods must be integer values, they represents number of days
-      if (!preg_match($int_pattern, $_POST['recent_period'])
-          or $_POST['recent_period'] <= 0)
-      {
-        $errors[] = l10n('periods_error') ;
-      }
+        // periods must be integer values, they represents number of days
+        /* Commented to fix compatibility problem with Dynamic Recent Period Plugin */
+        /* This don't impact the plugin functionnalities */
+        /*if (!preg_match($int_pattern, $_POST['recent_period'])
+            or $_POST['recent_period'] <= 0)
+        {
+          $errors[] = l10n('periods_error') ;
+        }*/
     
       if (isset($_POST['mail_address']))
