[Fusionforge-commits] r8513 - trunk/gforge/common/forum

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Thu Dec 10 21:47:55 CET 2009


Author: aljeux
Date: 2009-12-10 21:47:55 +0100 (Thu, 10 Dec 2009)
New Revision: 8513

Modified:
   trunk/gforge/common/forum/Forum.class.php
Log:
Fix broken build in forum regexp

Modified: trunk/gforge/common/forum/Forum.class.php
===================================================================
--- trunk/gforge/common/forum/Forum.class.php	2009-12-10 17:08:51 UTC (rev 8512)
+++ trunk/gforge/common/forum/Forum.class.php	2009-12-10 20:47:55 UTC (rev 8513)
@@ -125,7 +125,7 @@
 			$this->setError(_('Forum Description Must Be At Least 10 Characters'));
 			return false;
 		}
-		if (!preg_match('/^([_\.0-9a-z-])*$/',$forum_name)) {
+		if (!preg_match('/^([_\.0-9a-z-])*$/i',$forum_name)) {
 			$this->setError(_('Illegal Characters in Forum Name'));
 			return false;
 		}




More information about the Fusionforge-commits mailing list