Index: trunk/wb/include/captcha/captchas/text.php
===================================================================
--- trunk/wb/include/captcha/captchas/text.php	(revision 629)
+++ trunk/wb/include/captcha/captchas/text.php	(revision 630)
@@ -39,7 +39,7 @@
 if($content===FALSE) {
 	echo '<b>Error</b>: Can not read text! Enter <b>0</b> to solve this captcha';
 	$_SESSION['captcha'] = '0';
-	exit;
+	return;
 }
 reset($content);
 while($s = current($content)) {
@@ -69,7 +69,7 @@
 if($qa == array()) {
 	echo '<b>Error</b>: no text defined! Enter <b>0</b> to solve this captcha';
 	$_SESSION['captcha'] = '0';
-	exit;
+	return;
 }
 
 // choose language to use
@@ -80,7 +80,7 @@
 if(!isset($qa[$lang])) {
 	echo '<b>Error</b>: no text defined! Enter <b>0</b> to solve this captcha';
 	$_SESSION['captcha'] = '0';
-	exit;
+	return;
 }
 
 // choose random question
