Subversion Repositories eFlore/Applications.cel

Compare Revisions

Regard whitespace Rev 2851 → Rev 2869

/trunk/widget/modules/saisie/Saisie.php/Saisie.php
226,14 → 226,15
}
 
protected function getReferentielImpose() {
$referentiel_impose = false;
if (isset($this->configProjet['referentiel'])) {
$this->ns_referentiel = $this->configProjet['referentiel'];
$referentiel_impose = true;
}
if (!empty($_GET['referentiel']) && $_GET['referentiel'] != "autre") {
$this->ns_referentiel = $_GET['referentiel'];
$referentiel_impose = true;
} else if (isset($this->configProjet['referentiel'])) {
$this->ns_referentiel = $this->configProjet['referentiel'];
} else if (isset($this->configMission['referentiel'])) {
$this->ns_referentiel = $this->configMission['referentiel'];
} else {
$referentiel_impose = false;
}
return $referentiel_impose;
}