This commit is contained in:
Rodolphe Quiedeville 2005-03-16 16:41:16 +00:00
parent 870760efd3
commit 0b52f9af91
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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++;
} }