Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-07-29 15:08:23 +0300
committerMichal Čihař <michal@cihar.com>2016-07-29 15:08:23 +0300
commitaebbb31aad30222052a147f4a0c0349dfd500cfb (patch)
tree65ed61b2784db0b15b1fbb8bfc0c7702e40c93c9 /examples
parent3e91fe55fbc9a714233c3f2fea36a2599c906c5b (diff)
parent0dfa2f32bf8ef815ec57ccb26c808eae13a6a663 (diff)
Merge branch 'master' into master-security
Diffstat (limited to 'examples')
-rw-r--r--examples/openid.php2
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';