From 254968a99c7b15aec819c91a5843703b068f9805 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Tue, 20 Jan 2015 19:21:49 +0100 Subject: [PATCH] fix random mime boundary generation second and third random numbers in mime boundary was alwasy 10000000000 --- include/Emailer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Emailer.php b/include/Emailer.php index e11954200c..a3f85433de 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,9999999999)."-" - .rand(10000000000,9999999999)."=:" + .rand(10000000000,99999999999)."-" + .rand(10000000000,99999999999)."=:" .rand(10000,99999); // generate a multipart/alternative message header -- 2.39.5