aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/captcha/gd.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/captcha/gd.php')
-rw-r--r--phpBB/phpbb/captcha/gd.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/captcha/gd.php b/phpBB/phpbb/captcha/gd.php
index 682022c8ed..99c279b55d 100644
--- a/phpBB/phpbb/captcha/gd.php
+++ b/phpBB/phpbb/captcha/gd.php
@@ -1862,7 +1862,7 @@ class char_cube3d
/**
*/
- function char_cube3d(&$bitmaps, $letter)
+ function __construct(&$bitmaps, $letter)
{
$this->bitmap = $bitmaps['data'][$letter];
$this->bitmap_width = $bitmaps['width'];
@@ -2119,7 +2119,7 @@ class colour_manager
/**
* Create the colour manager, link it to the image resource
*/
- function colour_manager($img, $background = false, $mode = 'ahsv')
+ function __construct($img, $background = false, $mode = 'ahsv')
{
$this->img = $img;
$this->mode = $mode;