Skip to content
Snippets Groups Projects
Commit 0b52f9af authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Bugfix

parent 870760ef
Branches
Tags
No related merge requests found
...@@ -75,7 +75,7 @@ class GraphCa extends GraphBrouzouf ...@@ -75,7 +75,7 @@ class GraphCa extends GraphBrouzouf
{ {
$num = $this->db->num_rows(); $num = $this->db->num_rows();
$i = 0; $i = 0;
$j = -1;
$labels = array(); $labels = array();
$cf = array(); $cf = array();
$cv = array(); $cv = array();
......
...@@ -99,7 +99,7 @@ class GraphCommNbMinutes extends GraphBar{ ...@@ -99,7 +99,7 @@ class GraphCommNbMinutes extends GraphBar{
$row = $this->db->fetch_row(); $row = $this->db->fetch_row();
$this->labels[$i] = substr($row[0],4,2) . '/'.substr($row[0],2,2); $this->labels[$i] = substr($row[0],4,2) . '/'.substr($row[0],2,2);
$this->datas[$i] = $row[1]; $this->datas[$i] = ceil($row[1] / 60);
$i++; $i++;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment