Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 3735 Rev 3737
Line 154... Line 154...
154
                            }
154
                            }
155
                        }
155
                        }
156
                        $obsAAjouter['certainty'] = ($this->projet == "aDeterminer") ? 'à déterminer' : $obsAAjouter['certainty'];
156
                        $obsAAjouter['certainty'] = ($this->projet == "aDeterminer") ? 'à déterminer' : $obsAAjouter['certainty'];
157
                        $obsAAjouter['input_source'] = 'widget';
157
                        $obsAAjouter['input_source'] = 'widget';
158
                        $obsAAjouter['project_id'] = $this->projetId;
158
                        $obsAAjouter['project_id'] = $this->projetId;
-
 
159
                        // racommodage en attendant mieux
159
                        $obsAAjouter['project'] = ($this->projetId == null) ? null : $this->projet;
160
                        $obsAAjouter['project'] = ($this->projetId == null) ? null : ($this->projetId == 53) ? "missions-flore" : $this->projet ;
160
                        if ($this->isFromPlantNet) {
161
                        if ($this->isFromPlantNet) {
161
                            $obsAAjouter['input_source'] = 'PlantNet';
162
                            $obsAAjouter['input_source'] = 'PlantNet';
162
                            $obsAAjouter['plantnet_id'] = $obs['obs_id'];
163
                            $obsAAjouter['plantnet_id'] = $obs['obs_id'];
163
                        }
164
                        }
164
                        if ($this->isSauvages) {
165
                        if ($this->isSauvages) {