[Fusionforge-commits] r12180 - branches/Branch_5_1/src/common/include

Roland Mas lolando at libremir.placard.fr.eu.org
Mon Feb 7 16:54:53 CET 2011


Author: lolando
Date: 2011-02-07 16:54:53 +0100 (Mon, 07 Feb 2011)
New Revision: 12180

Modified:
   branches/Branch_5_1/src/common/include/Group.class.php
Log:
Use util_make_url()

Modified: branches/Branch_5_1/src/common/include/Group.class.php
===================================================================
--- branches/Branch_5_1/src/common/include/Group.class.php	2011-02-07 15:50:33 UTC (rev 12179)
+++ branches/Branch_5_1/src/common/include/Group.class.php	2011-02-07 15:54:53 UTC (rev 12180)
@@ -569,7 +569,7 @@
 
 		$homepage = ltrim($homepage);
 		if (!$homepage) {
-			$homepage=forge_get_config('web_host').'/projects/'.$this->getUnixName().'/';
+			$homepage=util_make_url('/projects/' . $this->getUnixName() . '/');
 		}
 
 		if (strlen(htmlspecialchars($short_description))>255) {




More information about the Fusionforge-commits mailing list