Index: src/admin/gm/classes/GMStat.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- src/admin/gm/classes/GMStat.php (revision 698f21c36066938fee7ce680be7007134fab3aaa) +++ src/admin/gm/classes/GMStat.php (revision ) @@ -585,7 +585,9 @@ $mysql_where = "WHERE gm_counter_id != '1' AND gm_counter_date BETWEEN '" . $this->date_ini['start_date'] . "' AND '" . $this->date_ini['end_date'] . "'"; $mysql_col = "gm_counter_visits_total"; - $plot_data = $this->getQuery($mysql_where, '', $mysql_col, "d.m.y"); + $mysql_group = "GROUP BY DATE_FORMAT(gm_counter_date,'%Y-%m-%d')"; + $plot_data = $this->getQuery($mysql_where, $mysql_group, $mysql_col, "d.m.y"); + $this->objPlot->SetTitle(MENU_TITLE_DAILY . " " . MENU_TITLE_FROM . " " . $this->formatDate($this->date_ini['start_date'], "d.m.Y") . " " . MENU_TITLE_TO . " " . $this->formatDate($this->date_ini['end_date'], "d.m.Y")); }