diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-08-29 12:43:13 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-08-29 12:43:13 +0000 |
commit | e7a200f0105e8f0a2ca46e5485c93e08c380dc2f (patch) | |
tree | 9c79ccb23876bed3b9d838283dd802a77634eeb4 /mod/captcha/start.php | |
parent | 15d7ee1ced7182064af26e300c6c4df78dc4c059 (diff) | |
download | elgg-e7a200f0105e8f0a2ca46e5485c93e08c380dc2f.tar.gz elgg-e7a200f0105e8f0a2ca46e5485c93e08c380dc2f.tar.bz2 |
merged [6876] into trunk from 1.7 branch
git-svn-id: http://code.elgg.org/elgg/trunk@6877 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/captcha/start.php')
-rw-r--r-- | mod/captcha/start.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/captcha/start.php b/mod/captcha/start.php index 872bc9246..8d28a70e2 100644 --- a/mod/captcha/start.php +++ b/mod/captcha/start.php @@ -111,6 +111,9 @@ function captcha_verify_action_hook($hook, $entity_type, $returnvalue, $params) register_error(elgg_echo('captcha:captchafail')); + // forward to referrer or else action code sends to front page + forward(REFERER); + return FALSE; } |