Subversion Repositories Sites.obs-saisons.fr

Rev

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

Rev 229 Rev 262
Line 368... Line 368...
368
		return $description;
368
		return $description;
369
	}
369
	}
Line 370... Line 370...
370
	
370
	
Line 371... Line 371...
371
	private function estUneDateSqlInvalide($date) {
371
	private function estUneDateSqlInvalide($date) {
372
		
372
		
373
		$date_tab = split('-', $date);
373
		$date_tab = explode('-', $date);
Line 374... Line 374...
374
		return ($date_tab[2] == '00' || $date_tab[1] == '00' || $date_tab[0] == '0000');
374
		return ($date_tab[2] == '00' || $date_tab[1] == '00' || $date_tab[0] == '0000');
375
	}
375
	}