Commit Vincent's form fix.
This commit is contained in:
		
							parent
							
								
									1fde313cfa
								
							
						
					
					
						commit
						4a61e76c6d
					
				
					 2 changed files with 12 additions and 0 deletions
				
			
		|  | @ -1,3 +1,7 @@ | ||||||
|  | 2002-09-01  Vincent Untz  <vincent@vuntz.net> | ||||||
|  | 
 | ||||||
|  | 	* membership-form.php: made it strip the slashes before the quotes. | ||||||
|  | 
 | ||||||
| 2002-08-31  Mike Newman  <mike@gtnorthern.demon.co.uk> | 2002-08-31  Mike Newman  <mike@gtnorthern.demon.co.uk> | ||||||
| 
 | 
 | ||||||
| 	* membership-policy.html: Fixed to reflect current renewal process. | 	* membership-policy.html: Fixed to reflect current renewal process. | ||||||
|  |  | ||||||
|  | @ -49,6 +49,14 @@ | ||||||
|   $errors = array(); |   $errors = array(); | ||||||
|    |    | ||||||
|   if ($submit) { |   if ($submit) { | ||||||
|  |       /* remove the slashes */ | ||||||
|  |       $name = stripslashes($name); | ||||||
|  |       $email = stripslashes($email); | ||||||
|  |       $summary = stripslashes($summary); | ||||||
|  |       $details = stripslashes($details); | ||||||
|  |       $contacts = stripslashes($contacts); | ||||||
|  |       $comments = stripslashes($comments); | ||||||
|  | 
 | ||||||
|       if (!$name || trim($name) == "") { |       if (!$name || trim($name) == "") { | ||||||
|         $bad_elements[] = "name"; |         $bad_elements[] = "name"; | ||||||
|         $errors[] = "Please enter your name."; |         $errors[] = "Please enter your name."; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue