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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10618 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2011-11-23 22:07:08 +00:00
parent 42e3ab3b90
commit 8356cb82cf
+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)