summaryrefslogtreecommitdiff
path: root/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-07 12:51:21 +0000
committeralecpl <alec@alec.pl>2009-09-07 12:51:21 +0000
commitb48d9bf5d412a6f56f3f9ba4bad141ddfe175727 (patch)
tree6eb95a2196a370c580832df650e4e5a03a6b571c /program/steps/mail/compose.inc
parent3d601d267dfb0ffca32ad953f36944b83910d907 (diff)
- Use faster/secure mt_rand() (#1486094)
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 5d1fe2122..8b821c8ea 100644
--- a/program/steps/mail/compose.inc
+++ b/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(),
);