Ajout test taille des donnes

This commit is contained in:
Rodolphe Quiedeville
2005-02-22 08:27:01 +00:00
parent 5adc796b9c
commit b36c863bcb

View File

@@ -89,7 +89,11 @@ class GraphLine extends DolibarrGraph {
// Display the graph
$graph->img->SetImgFormat("png");
$graph->Stroke($file);
if (sizeof($datas) > 0)
{
$graph->Stroke($file);
}
}
}
?>