// strtouper(Tools::passwdGen(12)) replace uniqid, and Alain asked me to add "lol"
This commit is contained in:
1 parent
c0e064248e
commit
7ebd6e66c4
1 file changed
+1
-1
@@ -1227,7 +1227,7 @@ class OrderCore extends ObjectModel
|
|||||||
{
|
{
|
||||||
// To generate a random reference, we first generate a random number
|
// To generate a random reference, we first generate a random number
|
||||||
// This number is a rand concated with the current timestamp
|
// This number is a rand concated with the current timestamp
|
||||||
return uniqid();
|
return strtoupper(Tools::passwdGen(12)); // lol Max !
|
||||||
}
|
}
|
||||||
|
|
||||||
public function orderContainProduct($id_product)
|
public function orderContainProduct($id_product)
|
||||||
|
|||||||
Reference in new issue
Block a user