Author Topic: VM 2.6.0 helpers/cart.php is this the correct ?  (Read 914 times)

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2967
  • VirtueMart Version: 3.6.3
VM 2.6.0 helpers/cart.php is this the correct ?
« 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');
regards
A

Joomla 3.9.12
php 7.2

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9937
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: VM 2.6.0 helpers/cart.php is this the correct ?
« Reply #1 on: April 07, 2014, 22:52:36 pm »
vmRequest got renamed to vRequest. Thats all.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2967
  • VirtueMart Version: 3.6.3
Re: VM 2.6.0 helpers/cart.php is this the correct ?
« Reply #2 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. 
regards
A

Joomla 3.9.12
php 7.2