diff --git a/Changelog b/Changelog index af9baa7fb..fab2e3599 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2017-07-25 DariusIII + * Chg: Replace mt_rand with random_int in ProcessReleases class * Chg: Try to prevent creating new session on every BasePage load * Chg: Add automatic user profile role change for expired roles (role change date) on users list check (admin area) 2017-07-23 DariusIII diff --git a/nntmux/processing/ProcessReleases.php b/nntmux/processing/ProcessReleases.php index 119c10513..f44d78bb7 100755 --- a/nntmux/processing/ProcessReleases.php +++ b/nntmux/processing/ProcessReleases.php @@ -992,7 +992,7 @@ class ProcessReleases // Cleanup orphaned collections, binaries and parts // this really shouldn't happen, but just incase - so we only run 1/200 of the time - if (mt_rand(0, 200) <= 1) { + if (random_int(0, 200) <= 1) { // CBP collection orphaned with no binaries or parts. if ($this->echoCLI) { echo (