]> git.mxchange.org Git - friendica.git/commitdiff
adjust the rand bounderies to be within the allowed max value
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Tue, 5 Jul 2016 13:45:39 +0000 (15:45 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Tue, 5 Jul 2016 13:45:39 +0000 (15:45 +0200)
include/Emailer.php

index d0568f600128a4f447fbaf4f2561865f613292bd..b0cdc3fe63b556ad6dc0a67a61efd427b0b4622b 100644 (file)
@@ -30,8 +30,8 @@ class Emailer {
 
                // generate a mime boundary
                $mimeBoundary   =rand(0,9)."-"
-                               .rand(10000000000,99999999999)."-"
-                               .rand(10000000000,99999999999)."=:"
+                               .rand(100000000,999999999)."-"
+                               .rand(100000000,999999999)."=:"
                                .rand(10000,99999);
 
                // generate a multipart/alternative message header