VirtueMart Forum

VirtueMart 2 + 3 => Virtuemart Development and bug reports => Topic started by: AH on April 07, 2014, 18:56:53 pm

Title: VM 2.6.0 helpers/cart.php is this the correct ?
Post by: AH on April 07, 2014, 18:56:53 pm
Looking at the new code

Code: [Select]
if (empty($cart_virtuemart_product_id)) $cart_virtuemart_product_id = vRequest::getString('cart_virtuemart_product_id');
if ($quantity === null) $quantity = vRequest::getInt('quantity');

Should it not use the  vmrequest function ??

Code: [Select]
if (empty($cart_virtuemart_product_id)) $cart_virtuemart_product_id = vmRequest::getString('cart_virtuemart_product_id');
if ($quantity === null) $quantity = vmRequest::getInt('quantity');
Title: Re: VM 2.6.0 helpers/cart.php is this the correct ?
Post by: Milbo on April 07, 2014, 22:52:36 pm
vmRequest got renamed to vRequest. Thats all.
Title: Re: VM 2.6.0 helpers/cart.php is this the correct ?
Post by: AH on April 07, 2014, 23:17:11 pm
Milbo thanks for the clarification,  I can see that it has been renamed in other files as well.