Subversion Repositories Sites.obs-saisons.fr

Rev

Rev 301 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 301 Rev 344
Line 142... Line 142...
142
	    	$cp_recherche = $dpt;
142
	    	$cp_recherche = $dpt;
143
			if(strlen($cp_recherche) == 4) {
143
			if(strlen($cp_recherche) == 4) {
144
				$cp_recherche = '0'.$cp_recherche;
144
				$cp_recherche = '0'.$cp_recherche;
145
			}
145
			}
Line 146... Line 146...
146
			
146
			
Line 147... Line 147...
147
			$commune_phenoclim = $this->estUneCommunePhenoclim(array('code_postal' => $cp_recherche));
147
			$commune_phenoclim = $this->estUneCommunePhenoclim(array('code_insee' => $cp_recherche));
Line 148... Line 148...
148
	
148
	
149
			$cp_recherche = substr($cp_recherche,0,2);
149
			$cp_recherche = substr($cp_recherche,0,2);