2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

First lot of compatability fixes

This commit is contained in:
Adam Zammit
2023-04-26 14:33:56 +10:00
parent c50a061eaf
commit dddd05665e
28 changed files with 116 additions and 116 deletions

View File

@@ -160,9 +160,9 @@ function sRandomChars($length = 15,$pattern="23456789abcdefghijkmnpqrstuvwxyz")
for($i=0;$i<$length;$i++)
{
if(isset($key))
$key .= $pattern{mt_rand(0,$patternlength)};
$key .= $pattern[mt_rand(0,$patternlength)];
else
$key = $pattern{mt_rand(0,$patternlength)};
$key = $pattern[mt_rand(0,$patternlength)];
}
return $key;
}