Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 3536 Rev 3538
Line 141... Line 141...
141
									$obsAAjouter['certainty'] = $obs['certitude'];
141
									$obsAAjouter['certainty'] = $obs['certitude'];
142
									break;
142
									break;
143
							}
143
							}
144
						}
144
						}
145
						$obsAAjouter['input_source'] = 'widget';
145
						$obsAAjouter['input_source'] = 'widget';
-
 
146
						if (isset($obs['projet_id'])) {
-
 
147
						    $obsAAjouter['project_id'] = $obs['projet_id'];
-
 
148
						    $obsAAjouter['project'] = $obs['projet'];
-
 
149
						}
146
						if ($this->isFromPlantNet) {
150
						if ($this->isFromPlantNet) {
147
							$obsAAjouter['input_source'] = 'PlantNet';
151
							$obsAAjouter['input_source'] = 'PlantNet';
148
							$obsAAjouter['plantnet_id'] = $obs['obs_id'];
152
							$obsAAjouter['plantnet_id'] = $obs['obs_id'];
149
						}
153
						}
Line 479... Line 483...
479
			}
483
			}
480
		}
484
		}
Line 481... Line 485...
481
 
485
 
Line 482... Line 486...
482
        if(! $champs_etendus_obs) return TRUE;
486
        if(! $champs_etendus_obs) return TRUE;
483
 
487
 
Line 484... Line 488...
484
		return $gestionChampsEtendus->ajouterParLots($champs_etendus_obs);
488
		return $gestionChampsEtendus->ajouterParLots($champs_etendus_obs, $this->projet);
485
	}
489
	}
486
 
490