// strtouper(Tools::passwdGen(12)) replace uniqid, and Alain asked me to add "lol"

This commit is contained in:
mMarinetti
2011-11-23 22:07:08 +00:00
parent aeeb8e1a39
commit 249453dbe2
+1 -1
View File
@@ -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)