Subversion Repositories Sites.obs-saisons.fr

Rev

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

Rev 33 Rev 46
Line 65... Line 65...
65
							$this->proteger($params['station_description']).')';		
65
							$this->proteger($params['station_description']).')';		
Line 66... Line 66...
66
							
66
							
Line 67... Line 67...
67
		$creation_station = $this->executerRequeteSimple($requete_creation_station);
67
		$creation_station = $this->executerRequeteSimple($requete_creation_station);
68
		
68
		
-
 
69
		if(!$creation_station) {
-
 
70
    		$retour['erreurs'] = 'erreur d\'insertion';
69
		if(!$creation_station) {
71
    	} else {
Line 70... Line 72...
70
    		// TODO: comment gère t'on les erreurs ?
72
    		$retour['id_nouvelle_station'] = $this->renvoyerDernierIdInsere();
Line 71... Line 73...
71
    	}
73
    	}
Line 72... Line 74...
72
    	
74
    	
73
    	$this->envoyer();
75
    	$this->envoyer($retour);