|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56073 [Patch] package statistics link to package
Submitted: 2004-05-22 07:11 UTC Modified: 2004-05-25 10:09 UTC
From: klaus at capitalfocus dot org Assigned: mj (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: klaus at capitalfocus dot org
New email:
PHP Version: OS:


 [2004-05-22 07:11 UTC] klaus at capitalfocus dot org
Fixes the link in 'Statistics for package "<package>"' to point to /package/<package> rather than /<package>

Klaus (thesaur)

Index: package-stats.php
RCS file: /repository/pearweb/public_html/package-stats.php,v
retrieving revision 1.51
diff -u -r1.51 package-stats.php
--- package-stats.php	20 May 2004 13:49:04 -0000	1.51
+++ package-stats.php	22 May 2004 11:09:12 -0000
@@ -135,7 +135,7 @@
     $info = package::info($_GET['pid'],null,false);
     if (isset($info['releases']) && sizeof($info['releases'])>0) {
-        echo "<h2>Statistics for package \"<a href=\"/" . $info['name'] . "\">" . $info['name'] . "</a>\"</h2>\n";
+        echo "<h2>Statistics for package \"<a href=\"/package/" . $info['name'] . "\">" . $info['name'] . "</a>\"</h2>\n";
         $bb = new Borderbox("General statistics");
         echo "Number of releases: <strong>" . count($info['releases']) . "</strong><br />\n";
         echo "Total downloads: <strong>" . number_format(statistics::package($_GET['pid']), 0, '.', ',') . "</strong><br />\n";


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-25 10:09 UTC]
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PEAR better.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Sep 28 21:01:25 2023 UTC