commit | 7a3b96e27988deeebeeff4469f5de3b9fb50918f | [log] [tgz] |
---|---|---|
author | Derek Jones <derek.jones@ellislab.com> | Wed Jun 04 21:01:56 2008 +0000 |
committer | Derek Jones <derek.jones@ellislab.com> | Wed Jun 04 21:01:56 2008 +0000 |
tree | 97dd195373aa1d16a5aee6e87df699327e1fdc85 | |
parent | c1acb410524414fa925c47834d124a3884b68dcb [diff] |
picky picky Jones adjusts some syntax
diff --git a/system/libraries/Input.php b/system/libraries/Input.php index 50b4d82..8c08468 100644 --- a/system/libraries/Input.php +++ b/system/libraries/Input.php
@@ -645,9 +645,8 @@ 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*"; }