mirror of
https://github.com/friendica/friendica
synced 2024-11-10 11:02:53 +00:00
fix random mime boundary generation
second and third random numbers in mime boundary was alwasy 10000000000
This commit is contained in:
parent
b2527039b7
commit
254968a99c
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ class Emailer {
|
|||
|
||||
// generate a mime boundary
|
||||
$mimeBoundary =rand(0,9)."-"
|
||||
.rand(10000000000,9999999999)."-"
|
||||
.rand(10000000000,9999999999)."=:"
|
||||
.rand(10000000000,99999999999)."-"
|
||||
.rand(10000000000,99999999999)."=:"
|
||||
.rand(10000,99999);
|
||||
|
||||
// generate a multipart/alternative message header
|
||||
|
|
Loading…
Reference in a new issue