Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3782 → Rev 3783

/branches/v3.00-serfouette/jrest/services/CelWidgetSaisie.php
165,9 → 165,9
}
$obsAAjouter['certainty'] = ($this->projet == "aDeterminer") ? 'à déterminer' : $obsAAjouter['certainty'];
$obsAAjouter['input_source'] = 'widget';
$obsAAjouter['project_id'] = $this->projetId;
$obsAAjouter['project_id'] = ($this->projetId == 3) ? null : $this->projetId;
// racommodage en attendant mieux
$obsAAjouter['project'] = ($this->projetId == null) ? null : ($this->projetId == 53) ? "missions-flore" : $this->projet ;
$obsAAjouter['project'] = ($this->projetId == null || $this->projetId == 3) ? null : ($this->projetId == 53) ? "missions-flore" : $this->projet ;
if ($this->isPlantnetPull) {
$obsAAjouter['input_source'] = 'PlantNet';
$obsAAjouter['plantnet_id'] = $obs['obs_id'];