aboutsummaryrefslogtreecommitdiff
path: root/mod/captcha/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/captcha/views/default')
-rw-r--r--mod/captcha/views/default/input/captcha.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/captcha/views/default/input/captcha.php b/mod/captcha/views/default/input/captcha.php
index 5b42bc3c9..c113d5baf 100644
--- a/mod/captcha/views/default/input/captcha.php
+++ b/mod/captcha/views/default/input/captcha.php
@@ -13,7 +13,7 @@ $token = captcha_generate_token();
<label>
<?php echo elgg_echo('captcha:entercaptcha'); ?>
<div class="captcha_image">
- <img class="captcha-input-image" alt="captcha" src="<?php echo $vars['url'] . "pg/captcha/$token"; ?>" />
+ <img class="captcha-input-image" alt="captcha" src="<?php echo elgg_get_site_url() . "pg/captcha/$token"; ?>" />
</div>
<div class="captcha_input">
<?php echo elgg_view('input/text', array('internalname' => 'captcha_input')); ?>