Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3781 → Rev 3782

/trunk/jrest/services/CelWidgetSaisie.php
167,7 → 167,7
$obsAAjouter['input_source'] = 'widget';
$obsAAjouter['project_id'] = $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'];