Line 163... |
Line 163... |
163 |
break;
|
163 |
break;
|
164 |
}
|
164 |
}
|
165 |
}
|
165 |
}
|
166 |
$obsAAjouter['certainty'] = ($this->projet == "aDeterminer") ? 'à déterminer' : $obsAAjouter['certainty'];
|
166 |
$obsAAjouter['certainty'] = ($this->projet == "aDeterminer") ? 'à déterminer' : $obsAAjouter['certainty'];
|
167 |
$obsAAjouter['input_source'] = 'widget';
|
167 |
$obsAAjouter['input_source'] = 'widget';
|
168 |
$obsAAjouter['project_id'] = $this->projetId;
|
168 |
$obsAAjouter['project_id'] = ($this->projetId == 3) ? null : $this->projetId;
|
169 |
// racommodage en attendant mieux
|
169 |
// racommodage en attendant mieux
|
170 |
$obsAAjouter['project'] = ($this->projetId == null || $this->projetId == 3) ? null : ($this->projetId == 53) ? "missions-flore" : $this->projet ;
|
170 |
$obsAAjouter['project'] = ($this->projetId == null || $this->projetId == 3) ? null : ($this->projetId == 53) ? "missions-flore" : $this->projet ;
|
171 |
if ($this->isPlantnetPull) {
|
171 |
if ($this->isPlantnetPull) {
|
172 |
$obsAAjouter['input_source'] = 'PlantNet';
|
172 |
$obsAAjouter['input_source'] = 'PlantNet';
|
173 |
$obsAAjouter['plantnet_id'] = $obs['obs_id'];
|
173 |
$obsAAjouter['plantnet_id'] = $obs['obs_id'];
|