mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 03:42:11 +01:00 
			
		
		
		
	Correction dans l'ajout d'organisateurs
This commit is contained in:
		@@ -38,7 +38,7 @@ class NewOrganizer {
 | 
			
		||||
		ensure(filter_var($this->email, FILTER_VALIDATE_EMAIL), "L'adresse e-mail est invalide.");
 | 
			
		||||
		$this->email = strtolower($this->email);
 | 
			
		||||
		ensure(!userExists($this->email), "Cette adresse e-mail est déjà utilisée.");
 | 
			
		||||
		$this->admin = $this->admin == "on" ? true : false;
 | 
			
		||||
		$this->admin = isset($this->admin) ? 1 : 0;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public function register() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user