projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f01d9fe
)
php8 fix
author
Alan
<alan@roojs.com>
Wed, 23 Feb 2022 08:38:49 +0000
(16:38 +0800)
committer
Alan
<alan@roojs.com>
Wed, 23 Feb 2022 08:38:49 +0000
(16:38 +0800)
Text/Password.php
patch
|
blob
|
history
diff --git
a/Text/Password.php
b/Text/Password.php
index
715c8af
..
e8704fd
100644
(file)
--- a/
Text/Password.php
+++ b/
Text/Password.php
@@
-187,7
+187,7
@@
class Text_Password {
$tmp = '';
for ($i = 0; $i < strlen($login); $i++) {
- $next = ord($login
{$i}
) ^ $key;
+ $next = ord($login
[$i]
) ^ $key;
if ($next > 255) {
$next -= 255;
} elseif ($next < 0) {