aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/stats.php12
-rw-r--r--doc/ChangeLog4
2 files changed, 14 insertions, 2 deletions
diff --git a/admin/stats.php b/admin/stats.php
index 5e823a38d..cd72ec81e 100644
--- a/admin/stats.php
+++ b/admin/stats.php
@@ -91,9 +91,17 @@ while ( $row = mysql_fetch_array( $result ) )
$current_month = $row['y']."-";
if ($row['m'] <10) {$current_month.='0';}
$current_month .= $row['m'];
+
$where_clause = "DATE_FORMAT(date,'%Y-%m') = '".$current_month."'";
- $value = "<a href='".PHPWG_ROOT_PATH."admin.php?page=stats";
- $value.= "&amp;year=".$row['y']."&amp;month=".$row['m']."'>";
+
+ $url =
+ PHPWG_ROOT_PATH.'admin.php'
+ .'?page=stats'
+ .'&amp;year='.$row['y']
+ .'&amp;month='.$row['m']
+ ;
+
+ $value = '<a href="'.add_session_id($url).'">';
$value.= $lang['month'][$row['m']].' '.$row['y'];
$value.= "</a>";
}
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 5a013857d..00b95ec3a 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2005-09-25 Pierrick LE GALL
+
+ * bug 163 fixed: link error when cookies disabled in admin/stats
+
2005-09-24 Pierrick LE GALL
* bug fixed: HTML error on nested UL in categories menu.