Subversion Repositories eFlore/Applications.cel

Rev

Rev 3760 | Rev 3924 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3760 Rev 3782
Line 165... Line 165...
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;
169
                        // racommodage en attendant mieux
169
                        // racommodage en attendant mieux
170
                        $obsAAjouter['project'] = ($this->projetId == null) ? 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'];
174
                        }
174
                        }
175
                        if ($this->isSauvages) {
175
                        if ($this->isSauvages) {