[evolvis-commits] r17674: I’ll never learn that PHP’s printf is broken…

mirabilos at evolvis.org mirabilos at evolvis.org
Mon Oct 31 15:44:33 CET 2011


Author: mirabilos
Date: 2011-10-31 15:44:32 +0100 (Mon, 31 Oct 2011)
New Revision: 17674

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/include/Layout.class.php
Log:
I’ll never learn that PHP’s printf is broken…


Modified: trunk/gforge_base/evolvisforge-5.1/src/www/include/Layout.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/include/Layout.class.php	2011-10-31 14:44:28 UTC (rev 17673)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/include/Layout.class.php	2011-10-31 14:44:32 UTC (rev 17674)
@@ -369,8 +369,10 @@
 		 * cf. http://home.gna.org/forgeplucker/forge-identification.html
 		 */
 		$ff = new FusionForge();
-		printf('\t<meta name="Forge-Identification" content="%s:%s" />\n',
+		echo "\t";
+		printf('<meta name="Forge-Identification" content="%s:%s" />',
 		    $ff->software_type, $ff->software_version);
+		echo "\n";
 	}
 
 	function bodyHeader($params){



More information about the evolvis-commits mailing list