cvs: pearweb /public_html/bugs stats.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Wed, 30 Jun 2004 13:29:03 +0000 |
| Subject: | cvs: pearweb /public_html/bugs stats.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-21310@lists.php.net to get a copy of this message | ||
dufuz Wed Jun 30 09:29:03 2004 EDT
Modified files:
/pearweb/public_html/bugs stats.php
Log:
changes some varibles $_GET['rev'] -> $rev since we define that at the top.
http://cvs.php.net/diff.php/pearweb/public_html/bugs/stats.php?r1=1.24&r2=1.25&ty=u
Index: pearweb/public_html/bugs/stats.php
diff -u pearweb/public_html/bugs/stats.php:1.24 pearweb/public_html/bugs/stats.php:1.25
--- pearweb/public_html/bugs/stats.php:1.24 Wed Jun 30 09:25:34 2004
+++ pearweb/public_html/bugs/stats.php Wed Jun 30 09:29:03 2004
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2004 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: stats.php,v 1.24 2004/06/30 13:25:34 dufuz Exp $
+ * @version $Id: stats.php,v 1.25 2004/06/30 13:29:03 dufuz Exp $
*/
/**
@@ -125,11 +125,11 @@
if (!isset($sort_by)) {
$sort_by = 'open';
}
- if (!isset($_GET['rev'])) {
- $rev = 0;
+ if (!isset($rev)) {
+ $rev = 1;
}
- if ($_GET['rev'] == 1) {
+ if ($rev == 1) {
arsort($package_name[$sort_by]);
} else {
asort($package_name[$sort_by]);