diff options
-rw-r--r-- | admin/stats.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/stats.php b/admin/stats.php index d11d0426a..0941e96d8 100644 --- a/admin/stats.php +++ b/admin/stats.php @@ -44,14 +44,14 @@ $where_clause = "1"; if (isset($_GET['day']) && isset($_GET['month']) && isset($_GET['year']) ) { - $url_img .= 'daily_stats.img.php?year='.$_GET['year'].'&month='.$_GET['month'].'&day='.$_GET['day']; + $url_img .= 'daily_stats.img.php?year='.$_GET['year'].'&month='.$_GET['month'].'&day='.$_GET['day']; $nls_value_title = $lang['w_day']; $group_clause = "DATE_FORMAT(date,'%Y-%m-%d') ASC"; $where_clause = "(YEAR(date) = ".$_GET['year']." AND MONTH(date) = ".$_GET['month']." )"; } elseif (isset($_GET['month']) && isset($_GET['year']) ) { - $url_img .= 'monthly_stats.img.php?year='.$_GET['year'].'&month='.$_GET['month']; + $url_img .= 'monthly_stats.img.php?year='.$_GET['year'].'&month='.$_GET['month']; $nls_value_title = $lang['w_day']; $group_clause = "DATE_FORMAT(date,'%Y-%m-%d') ASC"; $where_clause = "(YEAR(date) = ".$_GET['year']." AND MONTH(date) = ".$_GET['month']." )"; |