mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
define/declare randomstring as static function
This commit is contained in:
parent
ff32c498c6
commit
1d48d7d217
@ -257,7 +257,7 @@
|
||||
*
|
||||
* @param $size int-size of random string to return
|
||||
*/
|
||||
function randomstring($size)
|
||||
static function randomstring($size)
|
||||
{
|
||||
$s = '';
|
||||
srand((double)microtime()*1000000);
|
||||
|
Loading…
Reference in New Issue
Block a user