X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmails%2Fbirthday_mails.php;h=c4dab04700104eea6215fbdf820e5e07286858fa;hp=71a616909fae06d31aefc2e608b0a800ac51ff4c;hb=7ca7fc19533794f4cec43d8e9767d1c137148a8a;hpb=6796d2a1fddf3e00ffc85f3bdf1666b40bb605a0 diff --git a/inc/mails/birthday_mails.php b/inc/mails/birthday_mails.php index 71a616909f..c4dab04700 100644 --- a/inc/mails/birthday_mails.php +++ b/inc/mails/birthday_mails.php @@ -81,7 +81,7 @@ if (SQL_NUMROWS($result_birthday) > 0) { ); for ($idx = 0; $idx < 4; $idx++) { - $content['check'] .= GEN_RANDOM_CODE("8", rand(0, "$MONTH$DAY"), $uid, ($AGE*($idx+1))); + $content['check'] .= GEN_RANDOM_CODE("8", mt_rand(0, "$MONTH$DAY"), $uid, ($AGE*($idx+1))); } // Insert row into database