diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-09-07 12:51:21 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-09-07 12:51:21 +0000 |
| commit | b2252a974ff10647abed98f268af1ba81b11605c (patch) | |
| tree | b2ca6df031fc3ff9684274e107ee2442d2b10b00 /roundcubemail/program/steps/mail/compose.inc | |
| parent | 0618dc9a521d74097207c58f58bb2632aa7b17d5 (diff) | |
- Use faster/secure mt_rand() (#1486094)
git-svn-id: https://svn.roundcube.net/trunk@2932 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/compose.inc')
| -rw-r--r-- | roundcubemail/program/steps/mail/compose.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index 5d1fe2122..8b821c8ea 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -37,7 +37,7 @@ if (!is_array($_SESSION['compose']) || $_SESSION['compose']['id'] != get_input_v { rcmail_compose_cleanup(); $_SESSION['compose'] = array( - 'id' => uniqid(rand()), + 'id' => uniqid(mt_rand()), 'param' => request2param(RCUBE_INPUT_GET), 'mailbox' => $IMAP->get_mailbox_name(), ); |
