Subversion Repositories eFlore/Applications.cel

Rev

Rev 1720 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1720 Rev 1724
Line 32... Line 32...
32
		if(!isset($pairs['licence'])) {
32
		if(!isset($pairs['licence'])) {
33
			return;
33
			return;
34
		}	
34
		}	
Line 35... Line 35...
35
		
35
		
36
		$requete_acceptation_licence = 'UPDATE cel_utilisateurs_infos '.
36
		$requete_acceptation_licence = 'UPDATE cel_utilisateurs_infos '.
37
									   'SET licence_acceptee = '.$this->proteger($pairs['licence']).
37
									   'SET licence_acceptee = '.Cel::db()->proteger($pairs['licence']).
Line 38... Line 38...
38
									   'WHERE id_utilisateur = '.$this->proteger($uid[0]);
38
									   'WHERE id_utilisateur = '.Cel::db()->proteger($uid[0]);
Line 39... Line 39...
39
									   
39
									   
40
		$resultat_acceptation_licence = $this->executer($requete_acceptation_licence);
40
		$resultat_acceptation_licence = Cel::db()->executer($requete_acceptation_licence);
41
		
41
		
42
		$resultat = false;
42
		$resultat = false;