Changeset - add998fec3fd
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 14 years ago 2011-04-09 13:30:10
ohnobinki@ohnopublishing.net
Fix `bad captcha' error message text.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
feedback-submit.php
Show inline comments
 
@@ -66,25 +66,25 @@ if (empty($visitormail) || !preg_match('
 
  $reject = TRUE;
 
}
 
if(empty($nameis) || empty($feedback) || empty($visitormail)) {
 
  echo '<p>Please click "back" and fill in all fields.</p>';
 
  $reject = TRUE;
 
}
 

	
 
/** Check the captcha */
 
if ($use_captcha)
 
  {
 
    if (!$securimage->check($_REQUEST['captcha_code']))
 
      {
 
	echo '<p>Your captcha response was incorrect, please try again.</p>';
 
	echo '<p>Your captcha response was incorrect or expired. Please try again.</p>';
 
	$reject = TRUE;
 
      }
 
  }
 

	
 
if (!$reject)
 
  {
 
    $feedback = stripcslashes($feedback);
 

	
 
    $message = date('l, F j, Y, g:i a') ."
 
From: $nameis ($visitormail)
 
School: $school ($school_id)\n
 
Rating: $rating 
0 comments (0 inline, 0 general)