[evolvis-commits] r10846: fixed buggy comparai?==?UTF-8?Q?son↵

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Feb 24 17:56:44 CET 2011


Author: mirabilos
Date: 2011-02-24 17:56:44 +0100 (Thu, 24 Feb 2011)
New Revision: 10846

Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge-plugin-scmsvn/www/viewcvs.php
Log:
fixed buggy comparaison


Modified: trunk/gforge_base/evolvisforge-5.1/gforge-plugin-scmsvn/www/viewcvs.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge-plugin-scmsvn/www/viewcvs.php	2011-02-24 16:56:43 UTC (rev 10845)
+++ trunk/gforge_base/evolvisforge-5.1/gforge-plugin-scmsvn/www/viewcvs.php	2011-02-24 16:56:44 UTC (rev 10846)
@@ -66,7 +66,7 @@
 $found = false;
 $line = strtok($content,SEPARATOR);
 while ($line && !$found) {
-	if (preg_match('/^Content-Type:(.*)$/',$line,$matches) !== false) {
+	if (preg_match('/^Content-Type:(.*)$/',$line,$matches)) {
 		header('Content-Type:' . $matches[1]);
  		$found = true;
  	}



More information about the evolvis-commits mailing list