From: <var...@us...> - 2012-11-21 14:13:36
|
Revision: 8517 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8517&view=rev Author: vargenau Date: 2012-11-21 14:13:25 +0000 (Wed, 21 Nov 2012) Log Message: ----------- Initialize variable Modified Paths: -------------- trunk/lib/Captcha.php Modified: trunk/lib/Captcha.php =================================================================== --- trunk/lib/Captcha.php 2012-11-21 14:06:13 UTC (rev 8516) +++ trunk/lib/Captcha.php 2012-11-21 14:13:25 UTC (rev 8517) @@ -147,6 +147,7 @@ $y = rand(50, $height - 20); //50-60 // randomize the chars + $angle = 0; for ($i = 0; $i < strlen($word); $i++) { $angle += rand(-5, 5); if ($angle > 25) $angle = 15; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |