227,9 → 227,9 |
$resultat_json = $resultat[0]; |
if ($this->retour_format == 'max'){ |
if ($this->nb_ressources == 1) { |
if ($this->parametres['categorie'] == 'ecologie') { |
if (@$this->parametres['categorie'] == 'ecologie') { |
$this->formaterResultatsChampsEcologie($resultat_json); |
} elseif ($this->parametres['categorie'] == 'description') { |
} elseif (@$this->parametres['categorie'] == 'description') { |
$this->formaterResultatsChampsDescription($resultat_json); |
}else { |
$this->formaterResultatsTousChamps($resultat_json); |