// Removing numerics from order reference
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10978 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1292,9 +1292,7 @@ class OrderCore extends ObjectModel
|
||||
*/
|
||||
public static function generateReference()
|
||||
{
|
||||
// To generate a random reference, we first generate a random number
|
||||
// This number is a rand concated with the current timestamp
|
||||
return strtoupper(Tools::passwdGen(9)); // lol Max !
|
||||
return strtoupper(Tools::passwdGen(9, 'NO_NUMERIC'));
|
||||
}
|
||||
|
||||
public function orderContainProduct($id_product)
|
||||
|
||||
Reference in New Issue
Block a user