[or-cvs] r16837: {torstatus} (ticket:117) Removed the incorrectly placed substr (torstatus/trunk/web)

kasimir at seul.org kasimir at seul.org
Thu Sep 11 02:14:23 UTC 2008


Author: kasimir
Date: 2008-09-10 22:14:21 -0400 (Wed, 10 Sep 2008)
New Revision: 16837

Modified:
   torstatus/trunk/web/router_detail.php
Log:
(ticket:117) Removed the incorrectly placed substr

Modified: torstatus/trunk/web/router_detail.php
===================================================================
--- torstatus/trunk/web/router_detail.php	2008-09-10 19:10:00 UTC (rev 16836)
+++ torstatus/trunk/web/router_detail.php	2008-09-11 02:14:21 UTC (rev 16837)
@@ -414,7 +414,7 @@
 				if (mysql_num_rows($result) == 1)
 				{
 					$record = mysql_fetch_assoc($result);
-					$fplink = strtolower(substr($record['Fingerprint'],1));
+					$fplink = strtolower($record['Fingerprint']);
 					// Display in the form
 					//  [linked][countrycode] Name
 					echo "<img title=\"FP: $fplink\" src=\"img/flags/".strtolower($record['CountryCode']).".gif\" class=\"flag\" /> <a title=\"FP: $fplink\" href=\"router_detail.php?FP=$fplink\">$FamilyMember</a><br/>";



More information about the tor-commits mailing list