summaryrefslogtreecommitdiffstats
path: root/system/libraries/Sha1.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2009-02-02 19:50:38 +0100
committerDerek Jones <derek.jones@ellislab.com>2009-02-02 19:50:38 +0100
commit33559103ddf02648837c85ed72425ac06c06080c (patch)
treebe00fd757f97298f3e74a43c4eb067b729fb4af0 /system/libraries/Sha1.php
parentf1b721a3559e8eb95bc580a3f79c5c2e896c9932 (diff)
replaced all sizeof() in favor of count() - aliases are teh sux0r
Diffstat (limited to 'system/libraries/Sha1.php')
-rw-r--r--system/libraries/Sha1.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Sha1.php b/system/libraries/Sha1.php
index 93982bfc4..cc6e2123f 100644
--- a/system/libraries/Sha1.php
+++ b/system/libraries/Sha1.php
@@ -80,7 +80,7 @@ class CI_SHA {
$d = 271733878;
$e = -1009589776;
- for ($i = 0; $i < sizeof($x); $i += 16)
+ for ($i = 0; $i < count($x); $i += 16)
{
$olda = $a;
$oldb = $b;