aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/captcha/plugins/captcha_abstract.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/captcha/plugins/captcha_abstract.php b/phpBB/includes/captcha/plugins/captcha_abstract.php
index d24e554188..ceb9c4f9fb 100644
--- a/phpBB/includes/captcha/plugins/captcha_abstract.php
+++ b/phpBB/includes/captcha/plugins/captcha_abstract.php
@@ -66,6 +66,7 @@ class phpbb_default_captcha
$this->seed -= 0x7fffffff * floor($this->seed / 0x7fffffff);
$captcha = new captcha();
+ define('IMAGE_OUTPUT', 1);
$captcha->execute($this->code, $this->seed);
}
@@ -80,6 +81,7 @@ class phpbb_default_captcha
}
}
$captcha = new captcha();
+ define('IMAGE_OUTPUT', 1);
$captcha->execute($this->code, $this->seed);
}