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 48... Line 48...
48
						
48
						
49
        if ($this->estUneChaineRequeteValide($lieu_formate)) {
49
        if ($this->estUneChaineRequeteValide($lieu_formate)) {
50
		    $requete_information_lieu = 'SELECT DISTINCT nom, code '.
50
		    $requete_information_lieu = 'SELECT DISTINCT nom, code '.
51
					'FROM cel_zones_geo '.
51
					'FROM cel_zones_geo '.
52
					'WHERE '.
52
					'WHERE '.
53
		    			'nom LIKE '.$this->proteger($lieu_formate.'%').' '.
53
		    			'nom LIKE '.Cel::db()->proteger($lieu_formate.'%').' '.
Line 54... Line 54...
54
		    		'ORDER BY nom LIMIT 50';
54
		    		'ORDER BY nom LIMIT 50';
Line 55... Line 55...
55
 
55
 
56
    		$liste_lieux = $this->requeter($requete_information_lieu);
56
    		$liste_lieux = Cel::db()->requeter($requete_information_lieu);
57
    		
57
    		
58
    		if($liste_lieux) {
58
    		if($liste_lieux) {