// fixed little issue on wishlist

This commit is contained in:
aFolletete
2012-07-20 12:42:53 +00:00
parent 55883dd6f0
commit b6a9a8ae7c
+2
View File
@@ -65,6 +65,8 @@ if ($context->customer->isLogged())
$wishlist = new WishList();
$wishlist->name = $name;
$wishlist->id_customer = (int)$context->customer->id;
$wishlist->id_shop = $context->shop->id;
$wishlist->id_shop_group = $context->shop->id_shop_group;
list($us, $s) = explode(' ', microtime());
srand($s * $us);
$wishlist->token = strtoupper(substr(sha1(uniqid(rand(), true)._COOKIE_KEY_.$context->customer->id), 0, 16));