Merge pull request #235 from narspt/patch-24

fix dashboard intermittently showing repeated callsigns on some servers
This commit is contained in:
LX1IQ 2023-02-02 06:56:23 +01:00 committed by GitHub
commit 05de80ae86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -52,7 +52,6 @@ function FormatSeconds($seconds) {
function CreateCode ($laenge) { function CreateCode ($laenge) {
$zeichen = "1234567890abcdefghijklmnopqrstuvwyxzABCDEFGHIJKLMNAOPQRSTUVWYXZ"; $zeichen = "1234567890abcdefghijklmnopqrstuvwyxzABCDEFGHIJKLMNAOPQRSTUVWYXZ";
mt_srand( (double) microtime() * 1000000);
$out = ""; $out = "";
for ($i=1;$i<=$laenge;$i++){ for ($i=1;$i<=$laenge;$i++){
$out .= $zeichen[mt_rand(0,(strlen($zeichen)-1))]; $out .= $zeichen[mt_rand(0,(strlen($zeichen)-1))];

View file

@ -52,7 +52,6 @@ function FormatSeconds($seconds) {
function CreateCode ($laenge) { function CreateCode ($laenge) {
$zeichen = "1234567890abcdefghijklmnopqrstuvwyxzABCDEFGHIJKLMNAOPQRSTUVWYXZ"; $zeichen = "1234567890abcdefghijklmnopqrstuvwyxzABCDEFGHIJKLMNAOPQRSTUVWYXZ";
mt_srand( (double) microtime() * 1000000);
$out = ""; $out = "";
for ($i=1;$i<=$laenge;$i++){ for ($i=1;$i<=$laenge;$i++){
$out .= $zeichen[mt_rand(0,(strlen($zeichen)-1))]; $out .= $zeichen[mt_rand(0,(strlen($zeichen)-1))];