[Fusionforge-commits] r8468 - trunk/gforge/common/include

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Dec 8 13:26:12 CET 2009


Author: aljeux
Date: 2009-12-08 13:26:12 +0100 (Tue, 08 Dec 2009)
New Revision: 8468

Modified:
   trunk/gforge/common/include/Group.class.php
Log:
Trim space around homepage argument

Modified: trunk/gforge/common/include/Group.class.php
===================================================================
--- trunk/gforge/common/include/Group.class.php	2009-12-08 12:26:05 UTC (rev 8467)
+++ trunk/gforge/common/include/Group.class.php	2009-12-08 12:26:12 UTC (rev 8468)
@@ -556,6 +556,7 @@
 			$send_all_docs=0;
 		}
 
+		$homepage = ltrim($homepage);
 		if (!$homepage) {
 			$homepage=$GLOBALS['sys_default_domain'].'/projects/'.$this->getUnixName().'/';
 		}
@@ -696,7 +697,7 @@
 		$allowed_status_changes = array(
 			'AH'=>1,'AD'=>1,'DA'=>1,'PA'=>1,'PD'=>1,
 			'IP'=>1,'HA'=>1,'HD'=>1
-		);			  
+		);
 
 		// Check that status transition is valid
 		if ($this->getStatus() != $status




More information about the Fusionforge-commits mailing list