From 5b03db4a1ba1d288ce1ca87e546ca046b9b25160 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 5 Jul 2016 15:45:39 +0200 Subject: [PATCH] adjust the rand bounderies to be within the allowed max value --- include/Emailer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Emailer.php b/include/Emailer.php index d0568f6001..b0cdc3fe63 100644 --- a/include/Emailer.php +++ b/include/Emailer.php @@ -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