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