summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/detect.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/detect.php b/examples/detect.php
index ed9ef4f..3d06cf6 100644
--- a/examples/detect.php
+++ b/examples/detect.php
@@ -251,7 +251,7 @@ function detect_random($r, &$out)
}
if ($f !== false) {
- $dataok = (strlen($data) == $numbytes);
+ $dataok = (Auth_OpenID::bytes($data) == $numbytes);
$ok = $dataok && !$size;
$msg .= 'It seems to exist ';
if ($dataok) {