diff options
Diffstat (limited to 'phpBB/includes')
| -rw-r--r-- | phpBB/includes/captcha/captcha_non_gd.php | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/phpBB/includes/captcha/captcha_non_gd.php b/phpBB/includes/captcha/captcha_non_gd.php index f82896f628..a823fa4226 100644 --- a/phpBB/includes/captcha/captcha_non_gd.php +++ b/phpBB/includes/captcha/captcha_non_gd.php @@ -119,7 +119,7 @@ class captcha  		$new_line = '';  		$end = strlen($scanline) - ceil($width/2); -		for ($i = floor($width/2); $i < $end; $i++) +		for ($i = (int) floor($width/2); $i < $end; $i++)  		{  			$pixel = ord($scanline{$i}); | 
