aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-25 14:10:11 -0700
committerMario Vavti <mario@mariovavti.com>2018-04-26 09:41:26 +0200
commit44d4f0a4844c50a1e4a1298df01ddfdcdfc3365c (patch)
tree5a0b82b12d854d35f32d2860f888505cc16e7996
parenta124c120f430ca2e526cba85b7cd67fb68ad0604 (diff)
downloadvolse-hubzilla-44d4f0a4844c50a1e4a1298df01ddfdcdfc3365c.tar.gz
volse-hubzilla-44d4f0a4844c50a1e4a1298df01ddfdcdfc3365c.tar.bz2
volse-hubzilla-44d4f0a4844c50a1e4a1298df01ddfdcdfc3365c.zip
generating random numbers too large for 32-bit systems
-rw-r--r--Zotlabs/Lib/Enotify.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php
index 05ea67ea5..cfb0bd344 100644
--- a/Zotlabs/Lib/Enotify.php
+++ b/Zotlabs/Lib/Enotify.php
@@ -747,8 +747,8 @@ class Enotify {
// generate a mime boundary
$mimeBoundary = rand(0, 9) . "-"
- .rand(10000000000, 9999999999) . "-"
- .rand(10000000000, 9999999999) . "=:"
+ .rand(100000000, 999999999) . "-"
+ .rand(100000000, 999999999) . "=:"
.rand(10000, 99999);
// generate a multipart/alternative message header