mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 09:42:10 +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.");
 | 
							ensure(filter_var($this->email, FILTER_VALIDATE_EMAIL), "L'adresse e-mail est invalide.");
 | 
				
			||||||
		$this->email = strtolower($this->email);
 | 
							$this->email = strtolower($this->email);
 | 
				
			||||||
		ensure(!userExists($this->email), "Cette adresse e-mail est déjà utilisée.");
 | 
							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() {
 | 
						public function register() {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user