Skip to content
Snippets Groups Projects
Commit 65a69d30 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Bad field

parent 5a14a441
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ class DeplacementStats extends Stats
*/
function getNbByYear()
{
$sql = "SELECT YEAR(datef) as dm, count(*)";
$sql = "SELECT YEAR(dated) as dm, count(*)";
$sql.= " FROM ".$this->from;
$sql.= " GROUP BY dm DESC";
$sql.= " WHERE ".$this->where;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment