diff options
author | Michal Čihař <michal@cihar.com> | 2016-07-29 15:08:23 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-07-29 15:08:23 +0300 |
commit | aebbb31aad30222052a147f4a0c0349dfd500cfb (patch) | |
tree | 65ed61b2784db0b15b1fbb8bfc0c7702e40c93c9 /examples | |
parent | 3e91fe55fbc9a714233c3f2fea36a2599c906c5b (diff) | |
parent | 0dfa2f32bf8ef815ec57ccb26c808eae13a6a663 (diff) |
Merge branch 'master' into master-security
Diffstat (limited to 'examples')
-rw-r--r-- | examples/openid.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/openid.php b/examples/openid.php index 0db0a466b8..a87c1b19a8 100644 --- a/examples/openid.php +++ b/examples/openid.php @@ -89,7 +89,7 @@ $base .= '://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT']; $realm = $base . '/'; $returnTo = $base . dirname($_SERVER['PHP_SELF']); -if ($returnTo[mb_strlen($returnTo) - 1] != '/') { +if ($returnTo[strlen($returnTo) - 1] != '/') { $returnTo .= '/'; } $returnTo .= 'openid.php'; |