]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
rand() is weak on some OSes as it only produces random numbers from -32766 to
authorRoland Haeder <roland@mxchange.org>
Fri, 6 Mar 2015 23:36:49 +0000 (00:36 +0100)
committerRoland Haeder <roland@mxchange.org>
Fri, 6 Mar 2015 23:40:49 +0000 (00:40 +0100)
commit7dd7c5ded2519d46360ec330ae2f46fd8cc21096
treebb3381e748743369895701797c94dd0e4b5d2698
parent1485a44cb853b07330c5440de30a7b547805636d
rand() is weak on some OSes as it only produces random numbers from -32766 to
32766. So let's get rid of it all together and use mt_rand() (which produces
*way* larger numbers on *all* systems).

Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
lib/noticeform.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
lib/noticeform.php
plugins/LdapCommon/LdapCommon.php
scripts/createsim.php