[Fusionforge-commits] r15957 - trunk/src/plugins/globalsearch/common

Olivier Berger olberger at fusionforge.org
Thu Jul 5 21:25:20 CEST 2012


Author: olberger
Date: 2012-07-05 21:25:20 +0200 (Thu, 05 Jul 2012)
New Revision: 15957

Modified:
   trunk/src/plugins/globalsearch/common/GlobalsearchPlugin.class.php
Log:
Few minor fixes

Modified: trunk/src/plugins/globalsearch/common/GlobalsearchPlugin.class.php
===================================================================
--- trunk/src/plugins/globalsearch/common/GlobalsearchPlugin.class.php	2012-07-05 19:25:04 UTC (rev 15956)
+++ trunk/src/plugins/globalsearch/common/GlobalsearchPlugin.class.php	2012-07-05 19:25:20 UTC (rev 15957)
@@ -94,14 +94,14 @@
 			return _('No stats available')." ".db_error();
 		}
 
-		$return .= '<table class="underline-link">';
+		$return = '<table class="underline-link">';
 		while ($row_topdown = db_fetch_array($res_top_n_assoc)) {
 			if ($row_topdown['numprojects'] > 0) {
 				$return .= '<tr><td>';
-				$return .= '<a href="' . $row_topdown[link] . '/">';
-				$return .= $row_topdown[title] . "</a>";
+				$return .= '<a href="' . $row_topdown['link'] . '/">';
+				$return .= $row_topdown['title'] . "</a>";
 				$return .= '</td>';
-				$return .= '<td class="align-right">' . number_format($row_topdown[numprojects], 0);
+				$return .= '<td class="align-right">' . number_format($row_topdown['numprojects'], 0);
 				$return .= " projects";
 				$return .= "</td></tr>\n";
 			}




More information about the Fusionforge-commits mailing list