phpBB

Code Changes

File: includes/captcha/captcha_non_gd.php

  Unmodified   Added   Modified   Removed
Line 119Line 119
		$new_line = '';

$end = strlen($scanline) - ceil($width/2);

		$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});


		{
$pixel = ord($scanline{$i});