projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed problems with excel report generation.
[fa-stable.git]
/
includes
/
main.inc
diff --git
a/includes/main.inc
b/includes/main.inc
index b61b41a80a8cdd3cc41630374a4844385a4c7559..18e51c56a0219d7fe1368de001e26ba4bbba1bff 100644
(file)
--- a/
includes/main.inc
+++ b/
includes/main.inc
@@
-369,7
+369,7
@@
function random_id($strength = 128)
for($i=0; $i < $n; $i++)
$bin .= chr(mt_rand(0, 255)); // Mersene Twister generator
}
- $id = strtr(base64_encode($bin), '+/
', '-_');
// see RFC 4648 Section 5
+ $id = strtr(base64_encode($bin), '+/
=', '-_x');
// see RFC 4648 Section 5
return $id;
}