From 7a3b96e27988deeebeeff4469f5de3b9fb50918f Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Wed, 4 Jun 2008 21:01:56 +0000 Subject: picky picky Jones adjusts some syntax --- system/libraries/Input.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'system') diff --git a/system/libraries/Input.php b/system/libraries/Input.php index 50b4d823d..8c08468bd 100644 --- a/system/libraries/Input.php +++ b/system/libraries/Input.php @@ -645,9 +645,8 @@ class CI_Input { foreach ($words as $word) { $temp = ''; - $wordlen = strlen($word); - for ($i = 0; $i < $wordlen; $i++) + for ($i = 0, $wordlen = strlen($word); $i < $wordlen; $i++) { $temp .= substr($word, $i, 1)."\s*"; } -- cgit v1.2.3-24-g4f1b