]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-send_coupon.php
Introduced padLeftZero()
[mailer.git] / inc / modules / admin / what-send_coupon.php
index 65995d8c68e80a95cec64ae15c9091f9446f46b0..5d8ec24a8254d25303bb63603161de92747f47bd 100644 (file)
@@ -99,9 +99,9 @@ ORDER BY
                                // Look for a unique id
                                while (!$isUnique) {
                                        /*
-                                        * Add a coupon for this user, first we need to create a
-                                        * table-unique "id". The function generatePassword() can do
-                                        * this job for us but we want to exclude some characters.
+                                        * Add a coupon for this user, first generate a
+                                        * "table-unique" id number. generatePassword() can do this
+                                        * but with some characters excluded.
                                         */
                                        $couponCode = generatePassword(30, array('-', '+', '_', '/', '.'));