From 0f3e280ad498693b21dcc44a2ce4a8dc7098b21b Mon Sep 17 00:00:00 2001 From: vargenau Date: Wed, 21 Nov 2012 14:13:25 +0000 Subject: [PATCH] Initialize variable git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@8517 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/Captcha.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Captcha.php b/lib/Captcha.php index 62f233eb6..fd252261d 100644 --- a/lib/Captcha.php +++ b/lib/Captcha.php @@ -147,6 +147,7 @@ class Captcha $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; -- 2.45.0