Projekt

Allgemein

Profil

GX-Bug #43164 » CounterPageVisitFix.patch

/admin/gm/classes/GMStat.php - Till Tepelmann, 25.09.2015 11:24

Unterschiede anzeigen:

src/admin/gm/classes/GMStat.php (revision )
585 585
			$mysql_where = "WHERE gm_counter_id != '1' AND gm_counter_date BETWEEN '" . $this->date_ini['start_date'] . "' AND '" . $this->date_ini['end_date'] . "'";
586 586
			$mysql_col = "gm_counter_visits_total";
587 587

  
588
			$plot_data = $this->getQuery($mysql_where, '', $mysql_col, "d.m.y");
588
			$mysql_group = "GROUP BY DATE_FORMAT(gm_counter_date,'%Y-%m-%d')";
589
			$plot_data = $this->getQuery($mysql_where, $mysql_group, $mysql_col, "d.m.y");
590

  
589 591
			$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"));
590 592
		}
591 593

  
    (1-1/1)