/trunk/services/modules/0.1/baseflor/CommunGraphiques.php |
---|
184,7 → 184,12 |
throw new Exception($message, $code); |
}elseif ($resultat) { |
if ((count($this->ressources)) != 0) { |
$Atraiter = array_filter($resultat[0],function($var){return ($var != '');}); |
//$Atraiter = array_filter($resultat[0],function($var){return ($var != '');}); |
foreach ($resultat[0] as $champs => $valeur) { |
if ($valeur !== '') { |
$Atraiter[$champs] = $valeur; |
} |
} |
if (!empty($Atraiter)) { |
$this->traiterValeursEcologiques($Atraiter); |
$svg = $this->genererSVG(); |