diff options
author | xue <> | 2005-11-18 01:26:39 +0000 |
---|---|---|
committer | xue <> | 2005-11-18 01:26:39 +0000 |
commit | 47e6ce79dfaa25397c8d1bfec2134f17c894ed87 (patch) | |
tree | fbba47751904c5f3eaf1bf24d5854723d4de7e05 /framework/Web/UI | |
parent | 767e2e7d4177727226bc66d12f43cdc7af3b0c04 (diff) |
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/THiddenFieldPageStatePersister.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/THiddenFieldPageStatePersister.php b/framework/Web/UI/THiddenFieldPageStatePersister.php index d2cb5226..24ef5491 100644 --- a/framework/Web/UI/THiddenFieldPageStatePersister.php +++ b/framework/Web/UI/THiddenFieldPageStatePersister.php @@ -50,7 +50,7 @@ class THiddenFieldPageStatePersister extends TPageStatePersister {
if (strlen($key) > 64)
$key = pack('H32', md5($key));
- elseif (strlen($key) < 64)
+ else if (strlen($key) < 64)
$key = str_pad($key, 64, "\0");
return md5((str_repeat("\x5c", 64) ^ substr($key, 0, 64)) . pack('H32', md5((str_repeat("\x36", 64) ^ substr($key, 0, 64)) . $data)));
}
|