aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/captcha/char_cube3d.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/captcha/char_cube3d.php')
-rw-r--r--phpBB/phpbb/captcha/char_cube3d.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/captcha/char_cube3d.php b/phpBB/phpbb/captcha/char_cube3d.php
index a712b16dce..0255259ac4 100644
--- a/phpBB/phpbb/captcha/char_cube3d.php
+++ b/phpBB/phpbb/captcha/char_cube3d.php
@@ -220,7 +220,7 @@ class char_cube3d
*/
function scale($vector, $length)
{
- if (sizeof($vector) == 2)
+ if (count($vector) == 2)
{
return array($vector[0] * $length, $vector[1] * $length);
}