Project

General

Profile

« Previous | Next » 

Revision 281

Added by stefan over 18 years ago

Fixed bug #99 and two additional instances of catpcha instead of captcha.

View differences:

trunk/wb/modules/form/view.php
275 275
			}
276 276
		}
277 277
	}
278
	if(isset($_SESSION['catpcha'])) { unset($_SESSION['captcha']); }
278
	if(isset($_SESSION['captcha'])) { unset($_SESSION['captcha']); }
279 279
	
280 280
	// Addslashes to email body - proposed by Icheb in topic=1170.0
281 281
	// $email_body = $wb->add_slashes($email_body);
trunk/wb/modules/news/submit_comment.php
49 49
			exit(header('Location: '.WB_URL.'/modules/news/comment.php?id='.$_GET['post_id']));
50 50
		}
51 51
	}
52
	if(isset($_SESSION['catpcha'])) { unset($_SESSION['captcha']); }
52
	if(isset($_SESSION['captcha'])) { unset($_SESSION['captcha']); }
53 53
	
54 54
	// Insert the comment into db
55 55
	$page_id = $_GET['page_id'];
trunk/wb/account/signup2.php
68 68
		$wb->print_error($MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'], $js_back, false);
69 69
	}
70 70
}
71
if(isset($_SESSION['catpcha'])) { unset($_SESSION['captcha']); }
71
if(isset($_SESSION['captcha'])) { unset($_SESSION['captcha']); }
72 72

  
73 73
// Generate a random password then update the database with it
74 74
$new_pass = '';

Also available in: Unified diff