VirtueMart Forum

VirtueMart 2 + 3 + 4 => 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


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 ??


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.